| 593 | } |
| 594 | |
| 595 | uint64_t GetTimestamp() |
| 596 | { |
| 597 | using clock = std::chrono::steady_clock; |
| 598 | |
| 599 | // Take a timestamp |
| 600 | auto timestamp = std::chrono::duration_cast<std::chrono::nanoseconds>(clock::now().time_since_epoch()); |
| 601 | |
| 602 | return static_cast<uint64_t>(timestamp.count()); |
| 603 | } |
| 604 | |
| 605 | arm::pipe::Packet ReceivePacket(const unsigned char* buffer, uint32_t length) |
| 606 | { |
no test coverage detected