File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -422,7 +422,6 @@ int main(int argc, char** argv) {
422422
423423 while (true ) {
424424 current_time = std::chrono::high_resolution_clock::now ();
425-
426425 auto duration = current_time - start_time;
427426 millis = std::chrono::duration_cast<std::chrono::milliseconds>(duration).count ();
428427
@@ -431,6 +430,10 @@ int main(int argc, char** argv) {
431430 num_read++;
432431 cur_entry_time = entry.ts ;
433432
433+ current_time = std::chrono::high_resolution_clock::now ();
434+ duration = current_time - start_time;
435+ millis = std::chrono::duration_cast<std::chrono::milliseconds>(duration).count ();
436+
434437 auto latency = millis - (cur_entry_time - first_entry_time);
435438 printf (" .r %i\n " , latency);
436439 fflush (stdout);
You can’t perform that action at this time.
0 commit comments