MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / GetSampledFrequency

Function GetSampledFrequency

SourceSDK/tier0/cpumonitoring.cpp:166–177  ·  view source on GitHub ↗

This function measures the CPU frequency by doing repeated integer adds. It measures it multiple times and records the highest frequency -- the assumption is that any given test might be slowed by interrupts or context switches so the fastest run should indicate the true performance.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MeasureThreadFunction · 0.85

Calls 1

GetFrequencyFunction · 0.85

Tested by

no test coverage detected