From 092e3518b599c11c51ba36ff0429cf07a87a873a Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Tue, 27 Jul 2021 23:40:42 +0200 Subject: [PATCH] PerformanceTimer: Add TODO for using std::chrono --- src/util/performancetimer.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util/performancetimer.h b/src/util/performancetimer.h index 2625d5010a61..f755d7641ba5 100644 --- a/src/util/performancetimer.h +++ b/src/util/performancetimer.h @@ -52,6 +52,10 @@ #include "util/duration.h" +// TODO: Switch to std::chrono::high_resolution_clock and measure +// durations in std::chrono::high_resolution_clock::duration +// instead of using mixxx::Duration which serves a different +// purpose and stores values as floating-point. class PerformanceTimer { public: