unit_test: Refactor all performance tests that rely on cache compensated timer

There is no ccomp timer on C3, which means our performance tests will start
failing again due to variance caused by cache misses.

This MR adds TEST_PERFORMANCE_CCOMP_ macro that will only fail
performance test if CCOMP timer is supported on the target
This commit is contained in:
Marius Vikhammer
2020-12-04 11:35:21 +08:00
committed by Angus Gratton
parent 7ed95d13b1
commit 0a95151a75
13 changed files with 42 additions and 22 deletions

View File

@@ -71,6 +71,7 @@
#define SOC_CPU_CORES_NUM 2
#define SOC_ULP_SUPPORTED 1
#define SOC_RTC_SLOW_MEM_SUPPORTED 1
#define SOC_CCOMP_TIMER_SUPPORTED 1
/*-------------------------- ADC CAPS ----------------------------------------*/
#define SOC_ADC_PERIPH_NUM (2)