| 46 | #endif |
| 47 | } |
| 48 | uint64 Time::SystemTimestamp() const |
| 49 | { |
| 50 | #ifndef PLATFORM_Linux |
| 51 | auto end = Now(); |
| 52 | return static_cast<uint64>(std::chrono::duration_cast<std::chrono::nanoseconds>(end.time_since_epoch()).count()); |
| 53 | #endif |
| 54 | } |
| 55 | |
| 56 | //Platform abstraction |
| 57 | #ifdef PLATFORM_Linux |