47 double elapsed()
const {
return _elapsed; }
51 double consumed()
const {
return _elapsed - _pausedElapsed; }
55 double _startTime {0};
56 double _pausedStartTime {0};
57 double _pausedElapsed {0};
59 bool _isActive {
false};
60 bool _isPaused {
false};
61 unsigned int _startCount {0};
MLTimer() noexcept=default
double consumed() const
Returns the elapsed time minus the time between pause() and resume() calls in seconds.
unsigned int startCount() const
#define MLPROFILINGMANAGER_EXPORT
Target mlrange_cast(Source arg)
Generic version of checked ML casts.