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
Fix diagnostic message subscription.
[apps/agl-service-can-low-level.git]
/
CAN-binder
/
low-can-binding
/
utils
/
timer.cpp
diff --git
a/CAN-binder/low-can-binding/utils/timer.cpp
b/CAN-binder/low-can-binding/utils/timer.cpp
index
4584b85
..
eb79f85
100644
(file)
--- a/
CAN-binder/low-can-binding/utils/timer.cpp
+++ b/
CAN-binder/low-can-binding/utils/timer.cpp
@@
-113,6
+113,11
@@
float frequency_clock_t::get_frequency() const
return frequency_;
}
+uint64_t frequency_clock_t::get_last_tick() const
+{
+ return last_tick_;
+}
+
/// @brief Force the clock to tick, regardless of it its time has actually
/// elapsed.
void frequency_clock_t::tick(uint64_t timestamp)