system_time.h 240 B

123456789101112131415161718
  1. #ifndef SYSTEM_TIME
  2. #define SYSTEM_TIME
  3. #include <stdint.h>
  4. namespace am {
  5. class system_time
  6. {
  7. private:
  8. system_time() {};
  9. ~system_time() {};
  10. public:
  11. static uint64_t get_time_ns();
  12. };
  13. } // namespace am
  14. #endif // !SYSTEM_TIME