Searched refs:cpu_freq (Results 1 – 1 of 1) sorted by relevance
22 #define TICK_TO_NSEC(tick) ((tick) * 1000 / cpu_freq)32 static uint32_t cpu_freq = 0; /* MHz */ variable51 cpu_freq = (uint32_t)up_perf_getfreq() / 1000000; in lv_nuttx_profiler_init()52 if(cpu_freq == 0) { in lv_nuttx_profiler_init()56 LV_LOG_USER("CPU frequency: %" LV_PRIu32 " MHz", cpu_freq); in lv_nuttx_profiler_init()