MCPcopy Create free account
hub / github.com/boostorg/asio / now

Function now

test/deadline_timer.cpp:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73ptime now()
74{
75#if defined(BOOST_DATE_TIME_HAS_HIGH_PRECISION_CLOCK)
76 return microsec_clock::universal_time();
77#else // defined(BOOST_DATE_TIME_HAS_HIGH_PRECISION_CLOCK)
78 return second_clock::universal_time();
79#endif // defined(BOOST_DATE_TIME_HAS_HIGH_PRECISION_CLOCK)
80}
81
82void deadline_timer_test()
83{

Callers 1

deadline_timer_testFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected