diff options
Diffstat (limited to 'tools/perf/util/env.h')
-rw-r--r-- | tools/perf/util/env.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/perf/util/env.h b/tools/perf/util/env.h index 1ab2682d5d2b..7218f7db57af 100644 --- a/tools/perf/util/env.h +++ b/tools/perf/util/env.h @@ -100,6 +100,18 @@ struct perf_env { /* For fast cpu to numa node lookup via perf_env__numa_node */ int *numa_map; int nr_numa_map; + + /* For real clock time reference. */ + struct { + u64 tod_ns; + u64 clockid_ns; + int clockid; + /* + * enabled is valid for report mode, and is true if above + * values are set, it's set in process_clock_data + */ + bool enabled; + } clock; }; enum perf_compress_type { |