summaryrefslogtreecommitdiff
path: root/extractor/time_util.h
blob: 6f7eda701729adf73376ac36f6e2105f5dd58182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _TIME_UTIL_H_
#define _TIME_UTIL_H_

#include <chrono>

using namespace std;
using namespace chrono;

typedef high_resolution_clock Clock;

double GetDuration(const Clock::time_point& start_time,
                   const Clock::time_point& stop_time);

#endif