projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactoed ticks
[physics.git]
/
src
/
ticks.cpp
diff --git
a/src/ticks.cpp
b/src/ticks.cpp
index
5bcefd6
..
54699b1
100644
(file)
--- a/
src/ticks.cpp
+++ b/
src/ticks.cpp
@@
-26,7
+26,7
@@
// returns the current microseconds from unix time
MICRO tickCountMicro()
{
-
struct
timeval tv;
+ timeval tv;
gettimeofday(&tv, 0);
return (long int)tv.tv_sec * 1000000 + tv.tv_usec;