digitalmars.D.bugs - [Issue 18204] New: Use MonoTime for timing of profile tracing runtime
- d-bugmail puremagic.com (21/21) Jan 07 2018 https://issues.dlang.org/show_bug.cgi?id=18204
https://issues.dlang.org/show_bug.cgi?id=18204 Issue ID: 18204 Summary: Use MonoTime for timing of profile tracing runtime Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nobody puremagic.com Reporter: johanengelen weka.io 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 --
Jan 07 2018