Test for the StopWatch class. More...
#include "larcorealg/TestUtils/StopWatch.h"
#include <chrono>
#include <ratio>
#include <thread>
#include <iostream>
Go to the source code of this file.
Functions | |
void | wait (std::chrono::milliseconds dur) |
int | main (int, char **) |
Test for the StopWatch class.
This test instantiates a stopwatch and makes some queries.
It is not an actual test in that there is no automatic verification of the results (which would be somehow problematic given that times are not completely reproducible).
Definition in file StopWatch_test.cc.
int main | ( | int | , |
char ** | |||
) |
Definition at line 32 of file StopWatch_test.cc.
void wait | ( | std::chrono::milliseconds | dur | ) |
Definition at line 26 of file StopWatch_test.cc.