Changeset 129 for trunk/Softwares/MiBench/src/c/benchmark.c
- Timestamp:
- Jun 29, 2009, 6:38:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Softwares/MiBench/src/c/benchmark.c
r118 r129 9 9 #endif 10 10 11 #define MiBench_small 12 //#define MiBench_large 11 #if !defined(MIBENCH_SMALL) && !defined(MIBENCH_LARGE) 12 # error "MIBENCH_SMALL or MIBENCH_LARGE must be defined" 13 #endif 13 14 14 15 //-----[ automative ]----------------------------- … … 43 44 printf("***** automative.basicmath - Begin *****\n"); 44 45 45 #ifdef M iBench_small46 #ifdef MIBENCH_SMALL 46 47 main_basicmath_small (); 47 48 #endif 48 #ifdef M iBench_large49 #ifdef MIBENCH_LARGE 49 50 main_basicmath_large (); 50 51 #endif … … 56 57 // [ run_automative_bitcount ] 57 58 //======================================================================================= 58 #ifdef M iBench_small59 #ifdef MIBENCH_SMALL 59 60 void main_bitcount_small (void) 60 61 { … … 81 82 #endif 82 83 83 #ifdef M iBench_large84 #ifdef MIBENCH_LARGE 84 85 void main_bitcount_large (void) 85 86 { … … 110 111 printf("***** automative.bitcount - Begin *****\n"); 111 112 112 #ifdef M iBench_small113 #ifdef MIBENCH_SMALL 113 114 main_bitcount_small (); 114 115 #endif 115 #ifdef M iBench_large116 #ifdef MIBENCH_LARGE 116 117 main_bitcount_large (); 117 118 #endif … … 123 124 // [ run_automative_qsort ] 124 125 //======================================================================================= 125 #ifdef M iBench_small126 #ifdef MIBENCH_SMALL 126 127 void _main_qsort_small (void) 127 128 { … … 150 151 #endif 151 152 152 #ifdef M iBench_large153 #ifdef MIBENCH_LARGE 153 154 void _main_qsort_large (void) 154 155 { … … 181 182 printf("***** automative.qsort - Begin *****\n"); 182 183 183 #ifdef M iBench_small184 #ifdef MIBENCH_SMALL 184 185 _main_qsort_small (); 185 186 #endif 186 #ifdef M iBench_large187 #ifdef MIBENCH_LARGE 187 188 _main_qsort_large (); 188 189 #endif … … 194 195 // [ run_automative_susan ] 195 196 //======================================================================================= 196 #ifdef M iBench_small197 #ifdef MIBENCH_SMALL 197 198 void main_susan_small (void) 198 199 { … … 261 262 #endif 262 263 263 #ifdef M iBench_large264 #ifdef MIBENCH_LARGE 264 265 void main_susan_large (void) 265 266 { … … 332 333 printf("***** automative.susan - Begin *****\n"); 333 334 334 #ifdef M iBench_small335 #ifdef MIBENCH_SMALL 335 336 main_susan_small (); 336 337 #endif 337 #ifdef M iBench_large338 #ifdef MIBENCH_LARGE 338 339 main_susan_large (); 339 340 #endif … … 346 347 //======================================================================================= 347 348 348 #ifdef M iBench_small349 #ifdef MIBENCH_SMALL 349 350 void main_dijkstra_small (void) 350 351 { … … 379 380 380 381 381 #ifdef M iBench_large382 #ifdef MIBENCH_LARGE 382 383 void main_dijkstra_large (void) 383 384 { … … 415 416 printf("***** network.dijkstra - Begin *****\n"); 416 417 417 #ifdef M iBench_small418 #ifdef MIBENCH_SMALL 418 419 main_dijkstra_small (); 419 420 #endif 420 #ifdef M iBench_large421 #ifdef MIBENCH_LARGE 421 422 main_dijkstra_large (); 422 423 #endif … … 432 433 printf("***** office.stringsearch - Begin *****\n"); 433 434 434 #ifdef M iBench_small435 #ifdef MIBENCH_SMALL 435 436 main_stringsearch_small (); 436 437 #endif 437 #ifdef M iBench_large438 #ifdef MIBENCH_LARGE 438 439 main_stringsearch_large (); 439 440 #endif … … 445 446 // [ run_security_sha ] 446 447 //======================================================================================= 447 #ifdef M iBench_small448 #ifdef MIBENCH_SMALL 448 449 void main_sha_small (void) 449 450 { … … 472 473 #endif 473 474 474 #ifdef M iBench_large475 #ifdef MIBENCH_LARGE 475 476 void main_sha_large (void) 476 477 { … … 503 504 printf("***** security.sha - Begin *****\n"); 504 505 505 #ifdef M iBench_small506 #ifdef MIBENCH_SMALL 506 507 main_sha_small (); 507 508 #endif 508 #ifdef M iBench_large509 #ifdef MIBENCH_LARGE 509 510 main_sha_large (); 510 511 #endif
Note: See TracChangeset
for help on using the changeset viewer.