Changeset 124 for trunk/Softwares/MiBench
- Timestamp:
- Jun 17, 2009, 2:11:25 PM (15 years ago)
- Location:
- trunk/Softwares/MiBench
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Softwares/MiBench/Makefile
r117 r124 7 7 # 8 8 9 include Makefile.defs 9 10 10 11 # common definition … … 24 25 MIBENCH_DATA_PATH = $(MORPHEO_TOPLEVEL)/Softwares/MiBench/data 25 26 26 FLAGS = -DMIBENCH_DATA_PATH=\"$(MIBENCH_DATA_PATH)\" 27 FLAGS = -DMIBENCH_DATA_PATH=\"$(MIBENCH_DATA_PATH)\" -DNB_THREAD_MAX=$(NB_THREAD_MAX) 27 28 28 29 #-----[ Files ]------------------------------------------------------------------- … … 33 34 34 35 include $(DIR_SOFT)/Makefile.Software 36 include $(DIR_SOFT)/Makefile.Workload 35 37 -
trunk/Softwares/MiBench/src/include/benchmark.h
r117 r124 15 15 void run_office_stringsearch (void); 16 16 17 void run_ office_sha(void);17 void run_security_sha (void); 18 18 19 19 #endif // benchmark_h -
trunk/Softwares/MiBench/src/include/workload.h
r117 r124 12 12 void (*WorkLoad[])() = 13 13 { 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 22 15 }; 23 16 24 17 #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 26 22 27 23 #endif //workload_h -
trunk/Softwares/MiBench/src/include/workload.h.sed
r117 r124 16 16 17 17 #define NB_WORKLOAD (sizeof(WorkLoad)/sizeof(void *)) 18 #define NB_THREAD_MAX @NB_THREAD_MAX19 18 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.