typedef struct _PROC_PERF_CONSTRAINT
{
    KPRCB *Prcb;
    unsigned __int64 PerfContext;
    unsigned long PercentageCap;
    unsigned long ThermalCap;
    unsigned long TargetFrequency;
    unsigned long AcumulatedFullFrequency;
    unsigned long AcumulatedZeroFrequency;
    unsigned long FrequencyHistoryTotal;
    unsigned long AverageFrequency;
} PROC_PERF_CONSTRAINT, *PPROC_PERF_CONSTRAINT;