diff options
author | Frederic Weisbecker <[email protected]> | 2013-01-15 13:25:07 +0100 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2013-01-27 19:23:16 +0100 |
commit | 39613766e8826756a4bf8c74274eb971c3c1d929 (patch) | |
tree | 00b2c232243377c5ac36878ef1d080a1883ae58a /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 95a79fd458b85132c25e351d45037ec9643312b2 (diff) |
cputime: Librarize per nsecs resolution cputime definitions
The full dynticks cputime accounting that we'll soon introduce
will rely on sched_clock(). And its clock can have a per
nanosecond granularity.
To prepare for this, we need to have a cputime_t implementation
that has this precision.
ia64 virtual cputime accounting already uses that granularity
so all we need is to librarize its implementation in the asm
generic headers.
Also librarize the default per jiffy granularity cputime_t
as well so that we can easily pick either implementation
depending on the cputime accounting config we choose.
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Li Zhong <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Fenghua Yu <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions