source: trunk/Softwares/Test/Test_x004/src/c/main.c @ 144

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

1) Platforms : add new organization for test
2) Load_Store_Unit : add array to count nb_check in store_queue
3) Issue_queue and Core_Glue : rewrite the issue network
4) Special_Register_Unit : add reset value to register CID
5) Softwares : add multicontext test
6) Softwares : add SPECINT
7) Softwares : add MiBench?
7) Read_queue : inhib access for r0
8) Change Core_Glue (network) - dont yet support priority and load balancing scheme

  • Property svn:keywords set to Id
File size: 502 bytes
Line 
1// $Id: main.c 117 2009-05-16 14:42:39Z 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  FILE * file = fopen("Test_x004.txt","a");
17   
18  if (file == NULL)
19    exit (1);
20 
21  fprintf(file,"Hello of cpu %d !!!\n",getpid()); 
22 
23  if (fclose (file) != 0)
24    exit (2);
25 
26  exit (0);
27
28  while (1);
29}
Note: See TracBrowser for help on using the repository browser.