diff options
author | Jonathan <hermanjl@hermanjl-Aspire-5553G.(none)> | 2012-03-08 01:37:03 -0500 |
---|---|---|
committer | Jonathan <hermanjl@hermanjl-Aspire-5553G.(none)> | 2012-03-08 01:37:03 -0500 |
commit | e15cf27a6fb6f8498def2a4e036483fd7089a530 (patch) | |
tree | fab7f0e20c1681bca1e3b584c6d420fbc8406ae4 /rt-graph.h | |
parent | e9f207ed3c68bca111d0e21a2bf601b4564ed748 (diff) |
rt-graph: input to real-time plots is processed using real-time timestamps
Each plot processes only the records which fit within the time window displayed.
When passing records into a real-time plot, kernelshark will now decide if a
record is within the current time window using real-time timestamps, instead of
the old ftrace timestamps.
This change also enables infinite zooming into the real-time plots.
Diffstat (limited to 'rt-graph.h')
-rw-r--r-- | rt-graph.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6,6 +6,8 @@ | |||
6 | #include "trace-cmd.h" | 6 | #include "trace-cmd.h" |
7 | #include "rt-plot-task.h" | 7 | #include "rt-plot-task.h" |
8 | 8 | ||
9 | #define NO_CPU -1 | ||
10 | |||
9 | #define RT_TS_FIELD "__rt_ts" | 11 | #define RT_TS_FIELD "__rt_ts" |
10 | #define TS_HASH_SIZE 12 | 12 | #define TS_HASH_SIZE 12 |
11 | struct ts_list; | 13 | struct ts_list; |
@@ -54,6 +56,8 @@ struct rt_graph_info { | |||
54 | 56 | ||
55 | /* Cache of ts fields for non-litmus events */ | 57 | /* Cache of ts fields for non-litmus events */ |
56 | struct ts_list *events[TS_HASH_SIZE]; | 58 | struct ts_list *events[TS_HASH_SIZE]; |
59 | |||
60 | unsigned long long max_period; | ||
57 | }; | 61 | }; |
58 | 62 | ||
59 | struct ts_list { | 63 | struct ts_list { |