Open
Bug 752783
Opened 13 years ago
Updated 2 years ago
Interval timer on Linux platforms has low resolution
Categories
(NSPR :: NSPR, enhancement)
Tracking
(Not tracked)
NEW
People
(Reporter: julien.pierre, Unassigned)
Details
gettimeofday() used in _PR_UNIX_GetInterval in pr/src/md/unix/unix.c only has millisecond resolution. This is the implementation used on Linux.
It could be replaced with one that uses clock_gettime() for better results.
Comment 1•13 years ago
|
||
Thank you for the suggestion. I checked the equivalent function in
the Chromium source tree. It uses the clock_gettime(CLOCK_MONOTONIC, ...)
function that you suggested on Linux and *BSD.
Comment 2•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: wtc → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•