PSI sics-cvs-psi_pre-ansto

This commit is contained in:
2003-06-13 00:00:00 +00:00
committed by Douglas Clowes
parent 2e3ddfb6c6
commit 3ffd0d8af4
1099 changed files with 318432 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