Skip to content
Snippets Groups Projects
Commit a2e3236f authored by Berenger Bramas's avatar Berenger Bramas
Browse files

Merge branch 'bugfix/bfps-timer-cumulate' into 'develop'

Update bfps timer (debug)

See merge request !8
parents be0115f6 052df00f
No related branches found
No related tags found
2 merge requests!21Bugfix/nansampling,!8Update bfps timer (debug)
......@@ -53,7 +53,7 @@ class bfps_timer {
public:
/// Constructor
bfps_timer() { start(); }
bfps_timer() : m_cumulate(std::chrono::nanoseconds::zero()) { start(); }
/// Copy constructor
bfps_timer(const bfps_timer& other) = delete;
......@@ -68,7 +68,7 @@ public:
void reset() {
m_start = std::chrono::high_resolution_clock::time_point();
m_end = std::chrono::high_resolution_clock::time_point();
m_cumulate = std::chrono::nanoseconds();
m_cumulate = std::chrono::nanoseconds::zero();
start();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment