3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 04:28:17 +00:00

api to accumulate stopwatches

This commit is contained in:
Arie Gurfinkel 2017-06-20 20:52:06 -04:00
parent 6eced8836d
commit f3019a3de9

View file

@ -44,6 +44,8 @@ public:
~stopwatch() {};
void add (const stopwatch &s) {/* TODO */}
void reset() { m_elapsed.QuadPart = 0; }
void start() {
@ -90,6 +92,8 @@ public:
~stopwatch() {}
void add (const stopwatch &s) {m_time += s.m_time;}
void reset() {
m_time = 0ull;
}
@ -141,6 +145,8 @@ public:
~stopwatch() {}
void add (const stopwatch &s) {m_time += s.m_time;}
void reset() {
m_time = 0ull;
}