Home | History | Annotate | Download | only in zram-perf

Lines Matching full:chrono

2 #include <chrono>
75 chrono::time_point<chrono::high_resolution_clock> start, end;
80 start = chrono::high_resolution_clock::now();
91 end = chrono::high_resolution_clock::now();
92 size_t duration = chrono::duration_cast<chrono::microseconds>(end - start).count();
96 chrono::time_point<chrono::high_resolution_clock> start, end;
101 start = chrono::high_resolution_clock::now();
113 end = chrono::high_resolution_clock::now();
114 size_t duration = chrono::duration_cast<chrono::microseconds>(end - start).count();