Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
af8de0da
There was an error fetching the commit references. Please try again later.
Commit
af8de0da
authored
6 years ago
by
Tomáš Oberhuber
Committed by
Tomáš Oberhuber
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Revision of Timer - documentation reformatting and code refactoring.
parent
4729e7f8
No related branches found
No related tags found
1 merge request
!29
Revision
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/TNL/Timer.h
+4
-4
4 additions, 4 deletions
src/TNL/Timer.h
with
4 additions
and
4 deletions
src/TNL/Timer.h
+
4
−
4
View file @
af8de0da
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment