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
Robert Sachunsky
olena
Commits
b535547e
Commit
b535547e
authored
Aug 05, 2011
by
Guillaume Lazzara
Browse files
mln/util/timer.hh: Add support for milliseconds output.
parent
898100c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
milena/ChangeLog
View file @
b535547e
2011-08-05 Guillaume Lazzara <z@lrde.epita.fr>
* mln/util/timer.hh: Add support for milliseconds output.
2011-06-28 Guillaume Lazzara <z@lrde.epita.fr>
* mln/morpho/skeleton_constrained.hh: Add a missing include.
milena/mln/util/timer.hh
View file @
b535547e
// Copyright (C) 2008, 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2008, 2009, 2011 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
...
...
@@ -79,6 +80,11 @@ namespace mln
// << time_ << std::endl;
// }
double
ms
()
const
{
return
double
(
std
::
clock
())
*
1000.
f
/
CLOCKS_PER_SEC
;
}
private:
bool
running_
;
...
...
Write
Preview
Markdown
is supported
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