source: trunk/Softwares/Test/Test_x005/src/c/main.c @ 126

Last change on this file since 126 was 117, checked in by rosiere, 16 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: 816 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 <my_times.h> */
10#include <stdlib.h>
11#include <stdio.h>
12#include <unistd.h>
13#include <string.h>
14
15int main()
16{
17  unsigned int date_old = 0;
18  unsigned int date_new;
19 
20  date_new = my_times(); printf("nb_cycle : %d\n"   ,date_new                  ); date_old = date_new;
21  date_new = my_times(); printf("nb_cycle : %d %d\n",date_new,date_new-date_old); date_old = date_new;
22  date_new = my_times(); printf("nb_cycle : %d %d\n",date_new,date_new-date_old); date_old = date_new;
23  date_new = my_times(); printf("nb_cycle : %d %d\n",date_new,date_new-date_old); date_old = date_new;
24
25  exit (0);
26
27  while (1);
28}
Note: See TracBrowser for help on using the repository browser.