Last change
on this file since 140 was
130,
checked in by rosiere, 15 years ago
|
1) add MORPHEO_PREFIX
|
-
Property svn:keywords set to
Id
|
File size:
393 bytes
|
Rev | Line | |
---|
[112] | 1 | // $Id: main.c 130 2009-06-30 12:31:46Z rosiere $ |
---|
| 2 | |
---|
| 3 | //=====[ main ]================================================================= |
---|
| 4 | /* |
---|
| 5 | * All thread execute this routine |
---|
| 6 | * Initialize the thread and attribute a Workload at each thread |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include <stdlib.h> |
---|
| 10 | #include "dhry21.h" |
---|
| 11 | |
---|
[130] | 12 | #ifndef DHRYSTONE_NB_RUNS |
---|
| 13 | # error "DHRYSTONE_NB_RUNS must be defined." |
---|
| 14 | #endif |
---|
| 15 | |
---|
[112] | 16 | int main() |
---|
| 17 | { |
---|
[130] | 18 | dhry21(DHRYSTONE_NB_RUNS); |
---|
[114] | 19 | |
---|
[112] | 20 | exit (0); |
---|
| 21 | |
---|
| 22 | while (1); |
---|
| 23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.