diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-28 10:51:01 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-29 17:43:59 -0400 |
commit | 7c1ff4c544dd650cceff3cd69a04bcba60856678 (patch) | |
tree | 76d2dee2a96363f283b9440d46d1ed8be4fa3aff /include/litmus/sched_plugin.h | |
parent | 425a6b5043bcc2142804107c853f978ac2fe3040 (diff) |
Add C-EDF Plugin2010.1
Improved C-EDF plugin. C-EDF now supports different cluster sizes (based
on L2 and L3 cache sharing) and supports dynamic changes of cluster size
(this requires reloading the plugin).
Diffstat (limited to 'include/litmus/sched_plugin.h')
-rw-r--r-- | include/litmus/sched_plugin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/litmus/sched_plugin.h b/include/litmus/sched_plugin.h index 2d856d587041..9c1c9f28ba79 100644 --- a/include/litmus/sched_plugin.h +++ b/include/litmus/sched_plugin.h | |||
@@ -133,6 +133,9 @@ struct sched_plugin { | |||
133 | 133 | ||
134 | extern struct sched_plugin *litmus; | 134 | extern struct sched_plugin *litmus; |
135 | 135 | ||
136 | /* cluster size: cache_index = 2 L2, cache_index = 3 L3 */ | ||
137 | extern int cluster_cache_index; | ||
138 | |||
136 | int register_sched_plugin(struct sched_plugin* plugin); | 139 | int register_sched_plugin(struct sched_plugin* plugin); |
137 | struct sched_plugin* find_sched_plugin(const char* name); | 140 | struct sched_plugin* find_sched_plugin(const char* name); |
138 | int print_sched_plugins(char* buf, int max); | 141 | int print_sched_plugins(char* buf, int max); |