diff options
author | Abhilash Jindal <klock.android@gmail.com> | 2015-08-11 12:01:22 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-01 15:51:43 +0200 |
commit | 72e624de6e6f0d5a638fbc23842aa76ae048e9e7 (patch) | |
tree | 5752040aa7d5293ce0aa33a122f9900aa1f0fb63 /samples | |
parent | 309d0631cc329ca1051c631c89e0acc9b752cb4d (diff) |
cpufreq: speedstep-lib: Use monotonic clock
Wall time obtained from do_gettimeofday is susceptible to sudden jumps due to
user setting the time or due to NTP.
Monotonic time is constantly increasing time better suited for comparing two
timestamps.
Signed-off-by: Abhilash Jindal <klock.android@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions