NTSTATUS
PopSetTimer(
  IN  PPROCESSOR_POWER_STATE  PState,
  IN  UCHAR                   Index
  );

Routine Description:

    This routine is only called within the PopPerfIdle loop. The purpose
    of the routine is to set the timer based upon the conditions expressed
    in the "index" case. This is the index into the processor perf states
    that we will be running for the next interval

Arguments:

    PState  - Processor Power State Information
    Index   - Index into the Processor Perf States Array

Return Value:

    STATUS_SUCCESS  - Timer Set
    STATUS_CANCELLED- Timer not Set/Cancelled