gdunlap/sched-sim.hg

view options.h @ 7:e274ac3f81ff

c01: Allow wake to preempt running processes
author George Dunlap <gdunlap@xensource.com>
date Tue Oct 20 18:00:17 2009 +0100 (2009-10-20)
parents 1d7310217c5a
children
line source
1 #ifndef _OPTIONS_H
2 #define _OPTIONS_H
3 struct options {
4 int time_limit;
5 int pcpu_count;
6 const struct workload * workload;
7 const struct scheduler * scheduler;
8 } opt;
10 extern struct options opt;
11 void parse_options(int argc, char * argv[]);
13 #endif