blob: 005643414a3265615551f62846b5236ca9bc05ed (
plain) (
tree)
|
|
#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
|