| 386 | } |
| 387 | |
| 388 | uint64_t System::CurrentThreadId() |
| 389 | { |
| 390 | #if defined(unix) || defined(__unix) || defined(__unix__) || defined(__APPLE__) |
| 391 | return (uint64_t)pthread_self(); |
| 392 | #elif defined(_WIN32) || defined(_WIN64) |
| 393 | return GetCurrentThreadId(); |
| 394 | #else |
| 395 | #error Unsupported platform |
| 396 | #endif |
| 397 | } |
| 398 | |
| 399 | uint64_t System::Timestamp() |
| 400 | { |
nothing calls this directly
no outgoing calls
no test coverage detected