blob: 88395f7758949a50bb1f273c4950f8e861c059d7 (
plain)
1
2
3
4
5
6
|
#include "time_util.h"
double GetDuration(const Clock::time_point& start_time,
const Clock::time_point& stop_time) {
return duration_cast<milliseconds>(stop_time - start_time).count() / 1000.0;
}
|