MCPcopy Create free account
hub / github.com/OriginQ/QPanda-2 / msleep

Function msleep

Extensions/PilotOSMachine/easylogging++.cpp:1389–1396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1387# if ELPP_USE_STD_THREADING
1388# if ELPP_ASYNC_LOGGING
1389static void msleep(int ms) {
1390 // Only when async logging enabled - this is because async is strict on compiler
1391# if defined(ELPP_NO_SLEEP_FOR)
1392 usleep(ms * 1000);
1393# else
1394 std::this_thread::sleep_for(std::chrono::milliseconds(ms));
1395# endif // defined(ELPP_NO_SLEEP_FOR)
1396}
1397# endif // ELPP_ASYNC_LOGGING
1398# endif // !ELPP_USE_STD_THREADING
1399#endif // ELPP_THREADING_ENABLED

Callers 3

emptyQueueMethod · 0.85
startMethod · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected