source: trunk/Softwares/Dhrystone/src/c/main.c @ 143

Last change on this file since 143 was 130, checked in by rosiere, 15 years ago

1) add MORPHEO_PREFIX

  • Property svn:keywords set to Id
File size: 393 bytes
Line 
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
12#ifndef DHRYSTONE_NB_RUNS
13# error "DHRYSTONE_NB_RUNS must be defined."
14#endif
15
16int main()
17{
18  dhry21(DHRYSTONE_NB_RUNS);
19   
20  exit (0);
21
22  while (1);
23}
Note: See TracBrowser for help on using the repository browser.