WebMay 4, 2016 · The call to clocks_calc_mult_shift () at the bottom would need to be modified so that the timer is programmed properly. For more accuracy, you can disable dynamic frequency scaling for the memory controller (if it is enabled). I don’t know how to disable that. Then use the BUS_CYCLES performance counter event as a time base. … Web* Re: Export clocks_calc_mult_shift() function 2016-03-08 22:25 Export clocks_calc_mult_shift() function Murali Karicheri @ 2016-03-08 22:53 ` John Stultz …
[PATCH v12 clocksource 4/5] clocksource: Reduce clocksource …
Web* NOTE: This function includes a safety margin of 50%, so that bad clock values * can be detected. */-u64 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask) +u64 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cyc) {u64 max_nsecs, max_cycles; @@ -493,6 +495,10 @@ u64 … Web+ clocks_calc_mult_shift(&cc->mult, &cc->shift, cs_ts_freq, + NSEC_PER_SEC, maxsec); +static void i915_perf_init_timecounter(struct i915_perf_stream *stream) +#define SYSTIME_START_OFFSET 350000 /* Counter read takes about 350us */ + … tina weisman
clocksource, to be used to calculate the suspend time. - LKML.ORG
Webclocks_calc_max_nsecs (u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cycles); extern void: clocks_calc_mult_shift (u32 *mult, u32 *shift, u32 from, u32 to, u32 … WebDefined in 1 files as a function: kernel/time/clocksource.c, line 47 (as a function) WebLKML Archive on lore.kernel.org help / color / mirror / Atom feed * [PATCH v4 00/17] 64-bit friendly generic sched_clock() @ 2013-07-18 23:21 Stephen Boyd 2013-07-18 23:21 ` [PATCH v4 01/17] clocksource: Extract max nsec calculation into separate function Stephen Boyd ` (20 more replies) 0 siblings, 21 replies; 51+ messages in thread From: Stephen … party city white gloves