27 #ifndef NO_MULTI_THREADING 46 #ifndef NO_MULTI_THREADING 47 const int64_t us =
static_cast<int64_t
>(seconds * 1e6);
48 std::this_thread::sleep_for(std::chrono::microseconds(us));
Copyright (c) 2017-2021 Arm Limited.
void sleep_in_seconds(float seconds)
Makes the calling thread to sleep for a specified number of seconds.