[Issue 18204] New: Use MonoTime for timing of profile tracing runtime
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 7 14:56:39 UTC 2018
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 at puremagic.com
Reporter: johanengelen at 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
--
More information about the Digitalmars-d-bugs
mailing list