Current -profile code does not use a known clock for non-Windows platforms, because it uses it implements its own low-level clock calls in src/rt/trace.d. And timing information is only available for Windows (seconds instead of cycles).
Instead, it could use MonoTime to get accurate timings on all supported platforms.
See conversation here: https://github.com/dlang/druntime/pull/2024
Comment #1 by robert.schadek — 2024-12-07T13:37:53Z