source: trunk/Softwares/Test/Test_066/src/c/main.c @ 112

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

1) Stat_list : fix retire old and new register bug
2) Stat_list : remove read_counter and valid flag, because validation of destination is in retire step (not in commit step)
3) Model : add class Model (cf Morpheo.sim)
4) Allocation : alloc_interface_begin and alloc_interface_end to delete temporary array.
5) Script : add distexe.sh
6) Add Comparator, Multiplier, Divider. But this component are not implemented
7) Software : add Dhrystone

  • Property svn:keywords set to Id
File size: 418 bytes
Line 
1// $Id: main.c 112 2009-03-18 22:36:26Z 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 <stdio.h>
11#include <unistd.h>
12#include <string.h>
13
14int main()
15{
16/*   printf("Hello World !!!\n");  */
17 
18  for (int i=0; i<20; ++i)
19    printf("i : %d\n",i);
20   
21  exit (0);
22
23  while (1);
24}
Note: See TracBrowser for help on using the repository browser.