#ifndef _NTPOAPI_H
// rev
/**
* The POWER_INTERNAL_IDLE_INTERVAL_PACKAGE structure contains a histogram of idle intervals,
* each entry representing the total time spent in a given duration bucket.
* The 37 buckets are logarithmically spaced to capture idle durations from ms up to seconds.
* Approximate bucket ranges:
* - Indices [0-2] = Very long idle (10-50 seconds)
* - Indices [3-5] = Long idle (2-10 seconds)
* - Indices [6-10] = Medium idle (100 ms-1 second)
* - Indices [11-15] = Short idle (10-100 ms)
* - Indices [16-36] = Very short idle (<10 ms, down to microseconds)
*/
typedef struct _POWER_INTERNAL_IDLE_INTERVAL_PACKAGE
{
/**
* Idle interval histogram buckets.
* Each entry is a ULONGLONG value in 100-nanosecond units.
* There are 37 buckets, covering idle durations from microseconds
* up to tens of seconds.
*/
ULONGLONG IdleIntervals[37];
} POWER_INTERNAL_IDLE_INTERVAL_PACKAGE, *PPOWER_INTERNAL_IDLE_INTERVAL_PACKAGE;
View code on GitHubNo description available.