[timer] an accumulating_timer would be nice

5 Nov
2009
5 Nov
'09
9:56 a.m.
Hi, For some measurements, it would be nice with a timer with the following interface class accumulating_timer { public: accumulating_timer(); // don't start timing void start(); void stop(); double elapsed() const; }; The benefit here would be that we don't have to convert to seconds until that data is actually needed. Thoughts? -Thorsten
5712
Age (days ago)
5712
Last active (days ago)
0 comments
1 participants
participants (1)
-
Thorsten Ottosen