Bug 18204 – Use MonoTime for timing of profile tracing runtime

Status
NEW
Severity
enhancement
Priority
P4
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-01-07T14:56:39Z
Last change time
2024-12-07T13:37:53Z
Assigned to
No Owner
Creator
johanengelen
Moved to GitHub: dmd#17356 →

Comments

Comment #0 by johanengelen — 2018-01-07T14:56:39Z
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
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17356 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB