Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ACGL
acgl
Commits
ce772262
Commit
ce772262
authored
Jul 17, 2012
by
Robert Menzel
Browse files
fixed wrong return type in performance timer
parent
5ee0ad7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
cmake
@
fbc7a6c6
Subproject commit
809ae57efe0fb1b44c069aacfabd3f5f988cafdb
Subproject commit
fbc7a6c6d438fd390368709eb7727f3a522bfe27
include/ACGL/Utils/PerformanceTimer.hh
View file @
ce772262
...
...
@@ -65,7 +65,7 @@ private:
return
(
_time
.
tv_sec
*
1000000000
+
_time
.
tv_nsec
);
}
inline
uint64_t
timespecToDouble
(
const
timespec
&
_time
)
const
{
inline
double
timespecToDouble
(
const
timespec
&
_time
)
const
{
return
(
_time
.
tv_sec
+
_time
.
tv_nsec
/
1000000000.0
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment