PpmConvertTime

UINT64 __stdcall PpmConvertTime(UINT64 SourceTime, UINT64 SourceFrequency, UINT64 TargetFrequency){
  UINT64 v4; 
  unsigned __int64 v6; 
  unsigned __int64 v7; 
  UINT64 pullResult; 

  pullResult = 0i64;
  v4 = SourceTime;
  if( SourceTime && SourceFrequency && SourceFrequency != TargetFrequency )
  {
    if( RtlULongLongMult(SourceTime, TargetFrequency, &pullResult) < 0 )
      return TargetFrequency * (v6 / v7) + TargetFrequency * (v6 % v7) / v7;
    else
      return pullResult / v7;
  }
  return v4;
}

Referenced by:

PopCalculateCsSummary
PopCalculateIdleInformation
PopDiagTraceCsResiliencyExit
PopGetIdleTimesCallback
PopInitDripsWakeAccounting
PpmApplyIdlePolicy
PpmCheckInitProcessors
PpmCheckSnapAllDeliveredPerformance
PpmConvertTimeFrom
PpmConvertTimeTo
PpmGetThroughputInfoCallback
PpmIdleCompleteExitLatencyTrace
PpmIdleExecuteTransition
PpmInitIdlePolicy
PpmParkApplyPolicy
PpmPerfSnapDeliveredPerformance
PpmRegisterPerfStates
PpmSnapDripsAccountingSnapshot
PpmSnapPerformanceAccumulation
PpmTraceExitLatency
PpmTranslateIdleAccounting
PpmTranslatePlatformIdleAccounting
PpmUpdateTimeAccumulation