source: trunk/platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/define.h @ 140

Last change on this file since 140 was 140, checked in by kane, 13 years ago

yAjout du multi_cache : plusieurs processeur peuvent ce partager le même cache L1.
2 remarques, (1) deux nouveaux paramètres : nb_cpu, nb_cache. Pour avoir un cache dont le comportement est identique à la version d'avant, mettre ces paramètres à 1.
(2) le port d'interruption est maintenant un tableau dépendant du nombre de processeur.
Voir le fichier "platforms/caba-ring-ccxcachev4_memcachev4-mips32el/top.cpp" pour plus de détails.

--Cette ligne, et les suivantes ci-dessous, seront ignorées--

M platforms/tsarv4_dspin_generic_32/tsarv4_dspin_generic_32_top.cpp
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/segmentation.h
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/top.cpp
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/configuration/default.cfg
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/configuration/gen_config.sh
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/dhrystone/dhry21a.c
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/define.h
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/matrix_multiplication/matrix_multiplication.c
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/common/common.c
A platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/self_code_modifying
A platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/self_code_modifying/self_code_modifying.c
A platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/self_code_modifying/self_code_modifying.h
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/benchmark/benchmark.h
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/benchmark/benchmark_sort.c
A platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/benchmark/benchmark_self_code_modifying.c
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/benchmark/benchmark.c
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/benchmark/benchmark_matrix_multiplication.c
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/soft/Makefile
M platforms/caba-ring-ccxcachev4_memcachev4-mips32el/Makefile
M platforms/tsarv4_vgmn_generic_32/tsarv4_vgmn_generic_32_top.cpp
M modules/vci_cc_xcache_wrapper_v4/caba/source/include/vci_cc_xcache_wrapper_v4.h
M modules/vci_cc_xcache_wrapper_v4/caba/source/src/vci_cc_xcache_wrapper_v4.cpp
M modules/vci_mem_cache_v4/caba/source/include/vci_mem_cache_v4.h
M modules/vci_mem_cache_v4/caba/source/include/mem_cache_directory_v4.h
M modules/vci_mem_cache_v4/caba/source/src/vci_mem_cache_v4.cpp

File size: 1.3 KB
Line 
1#ifndef define_h
2#define define_h
3
4// List of benchmark
5#define BENCHMARK_NB_THREAD                   4
6
7#define BENCHMARK_DHRYSTONE                   0
8#define BENCHMARK_SORT_ALL                    0
9#define BENCHMARK_SORT_BUBBLE                 0
10#define BENCHMARK_SORT_INSERTION              0
11#define BENCHMARK_SORT_SELECTION              0
12#define BENCHMARK_SORT_SHELL                  1
13#define BENCHMARK_MATRIX_MULTIPLICATION_ST    0
14#define BENCHMARK_MATRIX_MULTIPLICATION_MT    0
15#define BENCHMARK_SELF_CODE_MODIFYING         0
16
17#define VERBOSE_SORT                          0
18
19#define VERIFICATION_SORT                     0
20#define VERIFICATION_MATRIX_MULTIPLICATION    0
21
22// Benchmark size
23#define DHRYSTONE_NB_RUNS                     5000
24#define SORT_ALL_SIZE                         1000
25#define SORT_BUBBLE_SIZE                      1500
26#define SORT_INSERTION_SIZE                   2300
27#define SORT_SELECTION_SIZE                   1600
28#define SORT_SHELL_SIZE                       4000
29#define MATRIX_MULTIPLICATION_ST_SIZE         50
30#define MATRIX_MULTIPLICATION_MT_SIZE         96
31#define MATRIX_MULTIPLICATION_MT_LOCK_BY_LINE 1
32#define SELF_CODE_MODIFYING_NB_RUNS           10
33
34// Timer configuration
35#define TIMER_INTERRUPT                       0
36#define TIMER_INTERRUPT_PERIOD                100000
37
38#endif // define_h
Note: See TracBrowser for help on using the repository browser.