Skip to content
Snippets Groups Projects
Commit 3e39df89 authored by Nina Džugasová's avatar Nina Džugasová Committed by Tomáš Oberhuber
Browse files

Made changes in TimerExample.

parent 81a69d82
No related branches found
No related tags found
1 merge request!15Nina
...@@ -12,7 +12,8 @@ int main() ...@@ -12,7 +12,8 @@ int main()
time.start(); time.start();
usleep(microseconds); usleep(microseconds);
time.stop(); time.stop();
time.getRealTime(); cout << "before reset:" << time.getRealTime() << endl;
time.reset(); time.reset();
cout << "after reset:" << time.getRealTime() << endl;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment