aboutsummaryrefslogtreecommitdiffstats
path: root/rt-graph.h
diff options
context:
space:
mode:
authorJonathan <hermanjl@hermanjl-Aspire-5553G.(none)>2012-03-08 01:37:03 -0500
committerJonathan <hermanjl@hermanjl-Aspire-5553G.(none)>2012-03-08 01:37:03 -0500
commite15cf27a6fb6f8498def2a4e036483fd7089a530 (patch)
treefab7f0e20c1681bca1e3b584c6d420fbc8406ae4 /rt-graph.h
parente9f207ed3c68bca111d0e21a2bf601b4564ed748 (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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rt-graph.h b/rt-graph.h
index 1a6ef0c..052f184 100644
--- a/rt-graph.h
+++ b/rt-graph.h
@@ -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
11struct ts_list; 13struct 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
59struct ts_list { 63struct ts_list {