#ifndef SYS_CALL_STAT #define SYS_CALL_STAT #include #include #include #include #include #include "sysLib.h" #include "SysCallStat.h" #include #include enum kernelAPI { openCall=0, closeCall, readCall, writeCall, sysCallMax, }; typedef struct { unsigned int sysCallCount; unsigned long int execTimeUsec; } KRNL_API_STATS; void displayStats(); void clearSysTableData(); void sysCallMeasurementTask(); void CaptureSysCallMetrics(); int measurementFlag; TASK_ID sysCallTaskID; static SEM_ID sysCallSemID; UINT32 tsFreq; #endif