From 25a89abf3e071b25b0821cd950be0a3202505272 Mon Sep 17 00:00:00 2001 From: AlexFolland Date: Tue, 4 Jul 2017 03:31:21 -0700 Subject: [PATCH] minor clarity on polling rate --- turbo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbo.cpp b/turbo.cpp index 33dbbdc..bbeebc0 100644 --- a/turbo.cpp +++ b/turbo.cpp @@ -94,7 +94,7 @@ int main() << "debug output" << endl << "------------" << endl << "target frame rate is " << targetFPS << " Hz" << endl - << "polling " << targetGranularity << " times per frame (" << targetFPS*targetGranularity << " Hz)" << endl; + << "polling timer " << targetGranularity << " times per frame (<" << targetFPS*targetGranularity << " Hz)" << endl; QueryPerformanceCounter(&tick); // time since system start in CPU cycles, grabbed here for synchronization tickFrames = (double)tick.QuadPart*targetFPS/(double)ticksPerSecond.QuadPart; // convert to number of frames at target frame rate