MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / GetTimeMicros

Function GetTimeMicros

src/utiltime.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48int64_t GetTimeMicros()
49{
50 int64_t now = (boost::posix_time::microsec_clock::universal_time() -
51 boost::posix_time::ptime(boost::gregorian::date(1970,1,1))).total_microseconds();
52 assert(now > 0);
53 return now;
54}
55
56int64_t GetSystemTimeInSeconds()
57{

Callers 15

CreateNewBlockMethod · 0.85
EXCLUSIVE_LOCKS_REQUIREDFunction · 0.85
SendMessagesMethod · 0.85
LogTimestampStrMethod · 0.85
GetSystemTimeInSecondsFunction · 0.85
ConnectBlockMethod · 0.85
FlushStateToDiskFunction · 0.85
DisconnectTipMethod · 0.85
ConnectTipMethod · 0.85
DumpMempoolFunction · 0.85
copyStatsMethod · 0.85
ReceiveMsgBytesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected