SourceForge.net Logo
Home

CPU Utilization (Above Idle)

The CPU Utilization Measurement facility provides 2 sets of APIs. Which one you use depends on your preference. They both give essentially the same data.

The Ai API

The CpuUtil API

CpuUtil Trace Hook Formats




AiInit




AiTerminate




AiGetCounters




AiAllocCounters




AiFreeCounters




AiZeroCounters




AI_COUNTERS Structure




CPU Utilization measurement example





CpuUtilInit    [Windows]




CpuUtilTerminate    [Windows]




CpuUtilStart    [Windows]




CpuUtilGet    [Windows]




CpuUtilGetAndTrace    [Windows]




CpuUtilSetTraceHookId    [Windows]




CPUUTIL_DATA Structure    [Windows]




CPU Utilization measurement example    [Windows]