Skip to content
Snippets Groups Projects
Commit 012817ce authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Merge branch 'fix-log-timestamp' into 'master'

[Debug] fix nanos in log timestamp

See merge request i4/manycore/emper!242
parents 596046f6 8baae119
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ void emper_add_timestamp_to(std::ostringstream& logMessage) { ...@@ -33,7 +33,7 @@ void emper_add_timestamp_to(std::ostringstream& logMessage) {
auto time_since_epoch = now_nanos.time_since_epoch(); auto time_since_epoch = now_nanos.time_since_epoch();
long time_since_epoch_long = time_since_epoch.count(); long time_since_epoch_long = time_since_epoch.count();
long remaining_nanos = time_since_epoch_long % 1000000000; long remaining_nanos = time_since_epoch_long % 60000000000;
logMessage << remaining_nanos; logMessage << remaining_nanos;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment