Initial revision

This commit is contained in:
cvs
2000-02-07 10:38:55 +00:00
commit fdc6b051c9
846 changed files with 230218 additions and 0 deletions

36
perfmon.h Normal file
View 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