diff options
| author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-03-02 16:24:27 -0500 |
|---|---|---|
| committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-03-02 16:24:27 -0500 |
| commit | f2381aa53a0656c03f2dd8b9d753d2a84132aafb (patch) | |
| tree | 5dce89942b8215dc410154135b87c89390011525 /bin/rt_launch.c | |
| parent | 2ace28d0725a47529a18ebac4c7c75bcf61446b9 (diff) | |
Update rt_launch usage
Diffstat (limited to 'bin/rt_launch.c')
| -rw-r--r-- | bin/rt_launch.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/bin/rt_launch.c b/bin/rt_launch.c index 66cb21f..3863031 100644 --- a/bin/rt_launch.c +++ b/bin/rt_launch.c | |||
| @@ -29,17 +29,14 @@ int launch(void *task_info_p) { | |||
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | void usage(char *error) { | 31 | void usage(char *error) { |
| 32 | fprintf(stderr, "%s\nUsage: \nlaunch_rt supports one of two modes:\n" | 32 | fprintf(stderr, "%s\nUsage: rt_launch [-w][-v][-p cpu][-c hrt | srt | be] wcet period program [arg1 arg2 ...]\n" |
| 33 | "\n\tlaunch_rt <SPORADIC OPTIONS> <wcet> <period> program arg1 arg2 ...\n" | 33 | "\t-w\tSynchronous release\n" |
| 34 | "\nwhere:" | 34 | "\t-v\tVerbose\n" |
| 35 | "\n\t <SPORADIC OPTIONS> = " | 35 | "\t-p\tcpu (or initial cpu)\n" |
| 36 | "[-c {hrt|srt|be}] [-p <cpu>]\n" | 36 | "\t-c\tClass\n" |
| 37 | "\nExamples:" | 37 | "\twcet, period in ms\n" |
| 38 | "\n\trt_launch -p 2 10 100 cpu_job" | 38 | "\tprogram to be launched\n", |
| 39 | "\n\t => Launch cpu_job a hard real-time task with " | 39 | error); |
| 40 | "\n\t period 100ms and weight 0.1 on CPU 2.\n" | ||
| 41 | "\n\n", | ||
| 42 | error); | ||
| 43 | exit(1); | 40 | exit(1); |
| 44 | } | 41 | } |
| 45 | 42 | ||
