greenplumn cdbtimer 源码

  • 2022-08-18
  • 浏览 (241)

greenplumn cdbtimer 代码

文件路径:/src/include/cdb/cdbtimer.h

/*-------------------------------------------------------------------------
 *
 * cdbtimer.h
 *	  Functions to manipulate timers used in a backend.
 *
 * Portions Copyright (c) 2005-2008, Greenplum inc
 * Portions Copyright (c) 2012-Present VMware, Inc. or its affiliates.
 *
 *
 * IDENTIFICATION
 *	    src/include/cdb/cdbtimer.h
 *
 *-------------------------------------------------------------------------
 */

#ifndef CDBTIMER_H_
#define CDBTIMER_H_

#include <sys/time.h>

typedef struct itimers {
	struct itimerval rtimer;		/* ITIMER_REAL */
	struct itimerval vtimer;		/* ITIMER_VIRTUAL */
	struct itimerval ptimer;		/* ITIMER_PROF */
} itimers;

void resetTimers(struct itimers *timers);
void restoreTimers(struct itimers *timers);

#endif /* CDBTIMER_H_ */

相关信息

greenplumn 源码目录

相关文章

greenplumn cdbaocsam 源码

greenplumn cdbappendonlyam 源码

greenplumn cdbappendonlyblockdirectory 源码

greenplumn cdbappendonlystorage 源码

greenplumn cdbappendonlystorage_int 源码

greenplumn cdbappendonlystorageformat 源码

greenplumn cdbappendonlystoragelayer 源码

greenplumn cdbappendonlystorageread 源码

greenplumn cdbappendonlystoragewrite 源码

greenplumn cdbappendonlyxlog 源码

0  赞