gdunlap/sched-sim.hg

view options.h @ 2:1d7310217c5a

Add command-line options
author George Dunlap <gdunlap@xensource.com>
date Wed Oct 14 16:12:26 2009 +0100 (2009-10-14)
parents
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