From 7ac7d41b203681068a8ccd076a7f99bfac0e13f0 Mon Sep 17 00:00:00 2001 From: barthess Date: Wed, 25 Feb 2015 23:02:05 +0300 Subject: FSMC_SRAM haltest. Added memcpy over DMA speed test --- testhal/STM32/STM32F4xx/FSMC_SRAM/membench.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'testhal/STM32/STM32F4xx/FSMC_SRAM/membench.h') diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/membench.h b/testhal/STM32/STM32F4xx/FSMC_SRAM/membench.h index 76ef46c..5f23e1c 100644 --- a/testhal/STM32/STM32F4xx/FSMC_SRAM/membench.h +++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/membench.h @@ -10,12 +10,13 @@ typedef struct { } membench_t; /* - * + * all values in B/s */ typedef struct { - double memset_spd; - double memcpy_spd; - double memcmp_spd; + uint32_t memset; + uint32_t memcpy; + uint32_t memcpy_dma; + uint32_t memcmp; } membench_result_t; /* -- cgit v1.2.3