blob: 005643414a3265615551f62846b5236ca9bc05ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#ifndef __RT_PLOT_TASK_H
#define __RT_PLOT_TASK_H
#include "trace-plot-task.h"
struct rt_task_info {
struct rt_plot_common common;
int pid;
unsigned long long wcet;
unsigned long long period;
/* For drawing squares */
unsigned long long run_time;
int run_cpu;
unsigned long long block_time;
int block_cpu;
int block_lid;
/* For managing state */
int last_job;
/* Used to get around bugs(ish) */
unsigned long long first_rels[3];
gboolean params_found;
gboolean fresh;
char *label;
char *block_label;
};
const struct plot_callbacks rt_task_cb;
void rt_plot_task(struct graph_info *ginfo, int pid, int pos);
void rt_plot_tasks_plotted(struct graph_info *ginfo, gint **plotted);
void rt_plot_task_update_callback(gboolean accept, gint *selected,
gint *non_select, gpointer data);
void rt_plot_add_all_tasks(struct graph_info *ginfo);
#endif
|