summaryrefslogtreecommitdiff
path: root/src/helpers/Timer.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-04-16 01:37:48 +0100
committerVaxry <vaxry@vaxry.net>2025-04-16 01:37:48 +0100
commit877fb5b93ada9b25b4d2f5ca5f69370fa345f1ac (patch)
tree5b52ad19c695590ae50c7adae06b8e3aeccf34c1 /src/helpers/Timer.hpp
parent0e521788bcc414c9cf81648d3167757d83deb60f (diff)
time: move to stl's clocks and move timer
Diffstat (limited to 'src/helpers/Timer.hpp')
-rw-r--r--src/helpers/Timer.hpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/helpers/Timer.hpp b/src/helpers/Timer.hpp
deleted file mode 100644
index a58225d0..00000000
--- a/src/helpers/Timer.hpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#pragma once
-
-#include <chrono>
-
-class CTimer {
- public:
- void reset();
- float getSeconds();
- float getMillis();
- const std::chrono::steady_clock::time_point& chrono() const;
-
- private:
- std::chrono::steady_clock::time_point m_tpLastReset;
-
- std::chrono::steady_clock::duration getDuration();
-}; \ No newline at end of file