| 86 | } |
| 87 | |
| 88 | uint32_t openhd::util::get_micros(std::chrono::nanoseconds ns) { |
| 89 | return static_cast<uint32_t>( |
| 90 | std::chrono::duration_cast<std::chrono::microseconds>(ns).count()); |
| 91 | } |
| 92 | |
| 93 | // Until we have std::atomic<uint64_t> |
| 94 | class ThreadSafeINT64_t { |
nothing calls this directly
no outgoing calls
no test coverage detected