projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Scheduler: Change ClockService implementation to utilize the POSIX CLOCK_MONOTONIC...
[senf.git]
/
Utils
/
Logger
/
TimeSource.cc
diff --git
a/Utils/Logger/TimeSource.cc
b/Utils/Logger/TimeSource.cc
index
0cab0d9
..
61b7253
100644
(file)
--- a/
Utils/Logger/TimeSource.cc
+++ b/
Utils/Logger/TimeSource.cc
@@
-48,7
+48,7
@@
prefix_ senf::log::time_type senf::log::SystemTimeSource::operator()()
{
struct ::timespec tm;
if (::clock_gettime(CLOCK_MONOTONIC, &tm) < 0)
- SENF_THROW_SYSTEM_EXCEPTION("::timer_gettime()");
+ SENF_THROW_SYSTEM_EXCEPTION("::clock_gettime()");
return static_cast<time_type>(tm.tv_sec)*1000000000ll+tm.tv_nsec;
}