aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/rt_param.h
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2013-02-28 10:19:50 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2013-02-28 10:19:50 -0500
commit5a2819df472ccbd2915fa0d50d7ce04b97b0849b (patch)
tree4b09d339599183fabe2b38ecc276c019150f4a79 /include/litmus/rt_param.h
parenta7e1b64848448d7c300288162e33004c59693510 (diff)
Injection of GPU migration events from usrspace
Diffstat (limited to 'include/litmus/rt_param.h')
-rw-r--r--include/litmus/rt_param.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h
index 8d37d6e050c9..d9b0fa329b67 100644
--- a/include/litmus/rt_param.h
+++ b/include/litmus/rt_param.h
@@ -61,17 +61,27 @@ typedef enum {
61 ST_INJECT_RESUME, 61 ST_INJECT_RESUME,
62 ST_INJECT_ACTION, /* supported */ 62 ST_INJECT_ACTION, /* supported */
63 ST_INJECT_SYS_RELEASE, /* supported */ 63 ST_INJECT_SYS_RELEASE, /* supported */
64
65 ST_INJECT_MIGRATION = 21, /* supported */
64} sched_trace_injection_events_t; 66} sched_trace_injection_events_t;
65 67
66struct st_inject_args { 68struct st_inject_args {
67 union 69 union {
68 { 70 /* ST_INJECT_RELEASE, ST_INJECT_COMPLETION */
69 struct{ 71 struct {
70 lt_t release; 72 lt_t release;
71 lt_t deadline; 73 lt_t deadline;
72 unsigned int job_no; 74 unsigned int job_no;
73 }; 75 };
76
77 /* ST_INJECT_ACTION */
74 unsigned int action; 78 unsigned int action;
79
80 /* ST_INJECT_MIGRATION */
81 struct {
82 unsigned int from;
83 unsigned int to;
84 };
75 }; 85 };
76}; 86};
77 87