diff options
| author | Richard Cochran <[email protected]> | 2014-12-21 19:47:06 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-12-30 18:29:27 -0500 |
| commit | 2eebdde6528a722fbf8e2cffcf7aa52cbb4c2de0 (patch) | |
| tree | c4b176d1e40eecb2caa00952eae95ecb2b2a046b /tools/perf/scripts/python | |
| parent | f25a30be359d0535fb1c7c1619cabb0ad17cfbf1 (diff) | |
timecounter: keep track of accumulated fractional nanoseconds
The current timecounter implementation will drop a variable amount
of resolution, depending on the magnitude of the time delta. In
other words, reading the clock too often or too close to a time
stamp conversion will introduce errors into the time values. This
patch fixes the issue by introducing a fractional nanosecond field
that accumulates the low order bits.
Reported-by: Janusz Użycki <[email protected]>
Signed-off-by: Richard Cochran <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions