diff options
author | Emery Hemingway <ehmry@posteo.net> | 2018-11-26 17:00:17 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-11-26 17:00:17 +0100 |
commit | ed8b4befbf3161c887f7b882ac6858708b67a503 (patch) | |
tree | a2f6c408d8bbf7d422b5185e5d20ebfa0b51d2da /compiler/debuginfo.nim | |
parent | ac56d3b0ede8d3bf42be6a8c014288baeab1907d (diff) | |
download | Nim-ed8b4befbf3161c887f7b882ac6858708b67a503.tar.gz |
times: use clock_gettime for cpuTime with POSIX (#9793)
The POSIX 'clock()' procedure returns process CPU time in an implementation specific unit, which for historical reasons can be as large as ~7ms in the case of FreeBSD. Use 'clock_gettime' for higher accuracy.
Diffstat (limited to 'compiler/debuginfo.nim')
0 files changed, 0 insertions, 0 deletions