blob: 6bb3a3f66bbb6601e612e23f53eebdb63e55bc31 (
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
42
43
|
#include "trace-graph.h"
struct vcpu_list;
struct vcpu_info {
struct rt_plot_common common;
int sid;
/* What the vcpu is running */
int task_tid;
int task_cpu;
unsigned long long task_run_time;
gboolean task_running;
gboolean task_exec;
/* How the vcpu is running */
int server_job;
int server_cpu;
unsigned long long server_run_time;
gboolean server_running;
/* Server blocking */
unsigned long long block_time;
int block_cpu;
gboolean blocked;
gboolean fresh;
gboolean spare;
/* False if we should only show what the vcpu is running, not
* WHEN the CPU is running
*/
gboolean show_server;
char *task_label;
char *server_label;
struct cont_list *cont;
};
void insert_vcpu(struct graph_info *ginfo, struct cont_list *cont,
struct vcpu_list *vcpu_info);
|