Initial revision
This commit is contained in:
36
perfmon.h
Normal file
36
perfmon.h
Normal file
@ -0,0 +1,36 @@
|
||||
|
||||
#line 54 "perfmon.w"
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
P E R F M O N
|
||||
A performance monitor for SICS. Maintains and calculates a value for
|
||||
cycles per seconds.
|
||||
|
||||
Mark Koennecke, Juli 1997
|
||||
|
||||
copyright: see implementation file
|
||||
---------------------------------------------------------------------------*/
|
||||
#ifndef SICSPERFMON
|
||||
#define SICSPERFMON
|
||||
|
||||
|
||||
#line 35 "perfmon.w"
|
||||
|
||||
typedef struct __PerfMon *pPerfMon;
|
||||
/*---------------------- live and death ----------------------------------*/
|
||||
pPerfMon CreatePerfMon(int iInteg);
|
||||
void DeletePerfMon(void *pData);
|
||||
/*---------------------- increment ---------------------------------------*/
|
||||
int IncrementPerfMon(pPerfMon self);
|
||||
/*------------------------------------------------------------------------*/
|
||||
float GetPerformance(pPerfMon self);
|
||||
/*------------------------------------------------------------------------*/
|
||||
int PerfMonWrapper(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
/*-----------------------------------------------------------------------*/
|
||||
int PerfMonTask(void *pPerf);
|
||||
void PerfMonSignal(void *pPerf, int iSignal, void *pSigData);
|
||||
|
||||
#line 67 "perfmon.w"
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user