gdunlap/sched-sim.hg
annotate 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 |
rev | line source |
---|---|
gdunlap@2 | 1 #ifndef _OPTIONS_H |
gdunlap@2 | 2 #define _OPTIONS_H |
gdunlap@2 | 3 struct options { |
gdunlap@2 | 4 int time_limit; |
gdunlap@2 | 5 int pcpu_count; |
gdunlap@2 | 6 const struct workload * workload; |
gdunlap@2 | 7 const struct scheduler * scheduler; |
gdunlap@2 | 8 } opt; |
gdunlap@2 | 9 |
gdunlap@2 | 10 extern struct options opt; |
gdunlap@2 | 11 void parse_options(int argc, char * argv[]); |
gdunlap@2 | 12 |
gdunlap@2 | 13 #endif |