Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Cleaning, improve comments
[apps/agl-service-can-low-level.git]
/
src
/
timer.cpp
diff --git
a/src/timer.cpp
b/src/timer.cpp
index
b0ccb62
..
01fd763
100644
(file)
--- a/
src/timer.cpp
+++ b/
src/timer.cpp
@@
-17,15
+17,15
@@
#include "timer.hpp"
#include "timer.hpp"
-
inline unsigned long
systemTimeMs()
+
long long int
systemTimeMs()
{
struct timeb t_msec;
{
struct timeb t_msec;
-
unsigned
long int timestamp_msec;
+
long
long int timestamp_msec;
if(!::ftime(&t_msec))
{
if(!::ftime(&t_msec))
{
- timestamp_msec = (
(unsigned long int)
t_msec.time) * 1000ll +
-
(unsigned long int)
t_msec.millitm;
+ timestamp_msec = (t_msec.time) * 1000ll +
+ t_msec.millitm;
}
return timestamp_msec;
}
\ No newline at end of file
}
return timestamp_msec;
}
\ No newline at end of file