MCPcopy Create free account
hub / github.com/LUX-Core/lux / SetMockTime

Function SetMockTime

src/utiltime.cpp:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void SetMockTime(int64_t nMockTimeIn)
29{
30 nMockTime.store(nMockTimeIn, std::memory_order_relaxed);
31}
32
33int64_t GetTimeMillis()
34{

Callers 5

setmocktimeFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

storeMethod · 0.45

Tested by 4

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68