Skip to content
Snippets Groups Projects
Commit bbcf7053 authored by Nina Džugasová's avatar Nina Džugasová
Browse files

Made changes in TimerExample.

parent 1b5b560c
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