summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/arm/v7/core.c19
-rw-r--r--src/arch/arm/v7/core.h5
-rw-r--r--src/core/processors.c2
3 files changed, 25 insertions, 1 deletions
diff --git a/src/arch/arm/v7/core.c b/src/arch/arm/v7/core.c
index 97fdb3d..0d1bf1c 100644
--- a/src/arch/arm/v7/core.c
+++ b/src/arch/arm/v7/core.c
@@ -52,6 +52,25 @@ bool init_armv7_core(void)
* *
* Paramètres : - *
* *
+* Description : Imprime des statistiques quant aux partages dans l'archi. *
+* *
+* Retour : - *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+#ifdef DEBUG_DUMP_STATS
+void dump_armv7_share_stats(void)
+{
+
+}
+#endif
+
+
+/******************************************************************************
+* *
+* Paramètres : - *
+* *
* Description : Supprime les mécanismes internes de l'architecture ARMv7. *
* *
* Retour : - *
diff --git a/src/arch/arm/v7/core.h b/src/arch/arm/v7/core.h
index ff0bcf7..fb31c3a 100644
--- a/src/arch/arm/v7/core.h
+++ b/src/arch/arm/v7/core.h
@@ -32,6 +32,11 @@
/* Met en place les mécanismes internes de l'architecture ARMv7. */
bool init_armv7_core(void);
+/* Imprime des statistiques quant aux partages dans l'archi. */
+#ifdef DEBUG_DUMP_STATS
+void dump_armv7_share_stats(void);
+#endif
+
/* Supprime les mécanismes internes de l'architecture ARMv7. */
void exit_armv7_core(void);
diff --git a/src/core/processors.c b/src/core/processors.c
index 2b1e0ca..9e835ec 100644
--- a/src/core/processors.c
+++ b/src/core/processors.c
@@ -145,7 +145,7 @@ bool load_hard_coded_processors_definitions(void)
result &= register_processor_type("armv7", "ARM v7", G_TYPE_ARMV7_PROCESSOR,
#ifdef DEBUG_DUMP_STATS
- init_armv7_core, NULL, exit_armv7_core);
+ init_armv7_core, dump_armv7_share_stats, exit_armv7_core);
#else
init_armv7_core, exit_armv7_core);
#endif