aboutsummaryrefslogtreecommitdiffstats
path: root/rt-plot-task.h
blob: a66de3936776a2499c7929b33120b16533a5f134 (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
#ifndef __RT_PLOT_TASK_H
#define __RT_PLOT_TASK_H

#include "trace-plot-task.h"

struct rt_task_info {
	struct task_plot_info	base;

	int			pid;
	unsigned long long	wcet;
	unsigned long long	period;

	unsigned long long	run_time;
	unsigned long long	block_time;

	int			last_job;
	int			last_cpu;

	/* Used to get around bugs(ish) */
	unsigned long long	first_rels[3];

	gboolean		params_found;
	char			*label;
};

void rt_plot_task(struct graph_info *ginfo, int pid, int pos);
void rt_plot_task_plotted(struct graph_info *ginfo, gint **plotted);
void rt_plot_task_update_callback(gboolean accept, gint *selected,
				  gint *non_select, gpointer data);
#endif