mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
remove custom timestamp stuff from logger wrapper
This commit is contained in:
committed by
Mohammad Al-Turany
parent
a3393e600e
commit
a91c481abf
@@ -13,13 +13,3 @@
|
||||
*/
|
||||
|
||||
#include "FairMQLogger.h"
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <ctime>
|
||||
|
||||
timestamp_t get_timestamp()
|
||||
{
|
||||
struct timeval now;
|
||||
gettimeofday(&now, nullptr);
|
||||
return now.tv_usec + static_cast<timestamp_t>(now.tv_sec) * 1000000;
|
||||
}
|
||||
|
Reference in New Issue
Block a user