Ignore:
Timestamp:
Jun 17, 2009, 2:11:25 PM (15 years ago)
Author:
rosiere
Message:

1) Add test and configuration
2) Fix Bug
3) Add log file in load store unit
4) Fix Bug in environment

Location:
trunk/Softwares/MiBench
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Softwares/MiBench/Makefile

    r117 r124  
    77#
    88
     9include                         Makefile.defs
    910
    1011# common definition
     
    2425MIBENCH_DATA_PATH               = $(MORPHEO_TOPLEVEL)/Softwares/MiBench/data
    2526
    26 FLAGS                           = -DMIBENCH_DATA_PATH=\"$(MIBENCH_DATA_PATH)\"
     27FLAGS                           = -DMIBENCH_DATA_PATH=\"$(MIBENCH_DATA_PATH)\" -DNB_THREAD_MAX=$(NB_THREAD_MAX)
    2728
    2829#-----[ Files ]-------------------------------------------------------------------
     
    3334
    3435include                         $(DIR_SOFT)/Makefile.Software
     36include                         $(DIR_SOFT)/Makefile.Workload
    3537
  • trunk/Softwares/MiBench/src/include/benchmark.h

    r117 r124  
    1515void run_office_stringsearch  (void);
    1616
    17 void run_office_sha           (void);
     17void run_security_sha         (void);
    1818
    1919#endif // benchmark_h
  • trunk/Softwares/MiBench/src/include/workload.h

    r117 r124  
    1212void (*WorkLoad[])() =
    1313{
    14         (void *) run_office_stringsearch,
    15         (void *) run_none,
    16         (void *) run_none,
    17         (void *) run_none,
    18         (void *) run_none,
    19         (void *) run_none,
    20         (void *) run_none,
    21         (void *) run_none
     14        (void *) run_security_sha
    2215};
    2316
    2417#define NB_WORKLOAD   (sizeof(WorkLoad)/sizeof(void *))
    25 #define NB_THREAD_MAX 8
     18
     19# ifndef NB_THREAD_MAX
     20#  error "NB_THREAD_MAX is undefined"
     21# endif
    2622
    2723#endif //workload_h
  • trunk/Softwares/MiBench/src/include/workload.h.sed

    r117 r124  
    1616
    1717#define NB_WORKLOAD   (sizeof(WorkLoad)/sizeof(void *))
    18 #define NB_THREAD_MAX @NB_THREAD_MAX
    1918
    20 #endif workload_h
     19# ifndef NB_THREAD_MAX
     20#  error "NB_THREAD_MAX is undefined"
     21# endif
     22
     23#endif //workload_h
Note: See TracChangeset for help on using the changeset viewer.