kopia lustrzana https://github.com/espressif/esp-idf
test_utils: Remove debug code, disable ccomp internal tests for C3
rodzic
0a95151a75
commit
772bb2a380
|
@ -87,9 +87,6 @@ int64_t IRAM_ATTR ccomp_timer_impl_get_time(void)
|
|||
{
|
||||
update_ccount();
|
||||
int64_t cycles = s_status[cpu_hal_get_core_id()].ccount;
|
||||
esp_rom_printf("cycles=%lld\n", cycles);
|
||||
esp_rom_printf("cpu freq=%d\r\n", esp_clk_cpu_freq());
|
||||
esp_rom_printf("duration=%lld\n", cycles * 1000000 / esp_clk_cpu_freq());
|
||||
return (cycles * 1000000) / esp_clk_cpu_freq();
|
||||
}
|
||||
|
||||
|
|
|
@ -23,6 +23,11 @@
|
|||
|
||||
#include "sdkconfig.h"
|
||||
|
||||
|
||||
/* No performance monitor in RISCV for now
|
||||
*/
|
||||
#if !DISABLED_FOR_TARGETS(ESP32C3)
|
||||
|
||||
static const char* TAG = "test_ccomp_timer";
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32
|
||||
|
@ -180,3 +185,5 @@ TEST_CASE("data cache hit rate sweep", "[test_utils][ccomp_timer]")
|
|||
free(flash_mem);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // !DISABLED_FOR_TARGETS(ESP32C3)
|
||||
|
|
Ładowanie…
Reference in New Issue