Skip to content
Snippets Groups Projects
Commit af8de0da authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Tomáš Oberhuber
Browse files

Revision of Timer - documentation reformatting and code refactoring.

parent 4729e7f8
No related branches found
No related tags found
1 merge request!29Revision
...@@ -17,10 +17,11 @@ namespace TNL { ...@@ -17,10 +17,11 @@ namespace TNL {
class Logger; class Logger;
/** /**
* \brief Class for time measuring. * \brief Class for real time, CPU time and CPU cycles measuring.
* *
* Counts the elapsed real time and CPU time in seconds together with CPU cycles * It measures the elapsed real time, CPU time (in seconds) and CPU cycles
* between the \ref start and \ref stop methods. * elapsed on the timer. The timer can be paused by calling \ref stop and \ref
* start methods and reseted by calling \ref reset.
* *
* \par Example * \par Example
* \include TimerExample.cpp * \include TimerExample.cpp
...@@ -144,7 +145,6 @@ class Timer ...@@ -144,7 +145,6 @@ class Timer
unsigned long long int initialCPUCycles, totalCPUCycles; unsigned long long int initialCPUCycles, totalCPUCycles;
bool stopState; bool stopState;
}; };
} // namespace TNL } // namespace TNL
......
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