remove custom timestamp stuff from logger wrapper

This commit is contained in:
Alexey Rybalchenko
2018-01-16 13:56:19 +01:00
committed by Mohammad Al-Turany
parent a3393e600e
commit a91c481abf
5 changed files with 23 additions and 37 deletions

View File

@@ -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;
}