aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/sched_plugin.h
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2010-05-28 10:51:01 -0400
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-05-29 17:43:59 -0400
commit7c1ff4c544dd650cceff3cd69a04bcba60856678 (patch)
tree76d2dee2a96363f283b9440d46d1ed8be4fa3aff /include/litmus/sched_plugin.h
parent425a6b5043bcc2142804107c853f978ac2fe3040 (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.h3
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
134extern struct sched_plugin *litmus; 134extern struct sched_plugin *litmus;
135 135
136/* cluster size: cache_index = 2 L2, cache_index = 3 L3 */
137extern int cluster_cache_index;
138
136int register_sched_plugin(struct sched_plugin* plugin); 139int register_sched_plugin(struct sched_plugin* plugin);
137struct sched_plugin* find_sched_plugin(const char* name); 140struct sched_plugin* find_sched_plugin(const char* name);
138int print_sched_plugins(char* buf, int max); 141int print_sched_plugins(char* buf, int max);