Home
last modified time | relevance | path

Searched refs:ccount (Results 1 – 17 of 17) sorted by relevance

/hal_espressif-3.6.0/tools/unit-test-app/components/test_utils/
Dccomp_timer_impl_xtensa.c55 …int64_t ccount; // accumulated processors cycles during the time when timer is… member
63 .ccount = 0,
71 .ccount = 0,
85 … s_status[xPortGetCoreID()].ccount += new_ccount - s_status[xPortGetCoreID()].last_ccount; in update_ccount()
88 …s_status[xPortGetCoreID()].ccount += new_ccount + (UINT32_MAX - s_status[xPortGetCoreID()].last_cc… in update_ccount()
194 int64_t cycles = s_status[xPortGetCoreID()].ccount; in ccomp_timer_impl_get_time()
204 s_status[xPortGetCoreID()].ccount = 0; in ccomp_timer_impl_reset()
Dccomp_timer_impl_riscv.c37 int64_t ccount; // accumulated processors cycles during the time when timer is active member
50 …s_status[cpu_hal_get_core_id()].ccount += new_ccount - s_status[cpu_hal_get_core_id()].last_ccount; in update_ccount()
53 …s_status[cpu_hal_get_core_id()].ccount += new_ccount + (UINT32_MAX - s_status[cpu_hal_get_core_id(… in update_ccount()
91 int64_t cycles = s_status[cpu_hal_get_core_id()].ccount; in ccomp_timer_impl_get_time()
97 s_status[cpu_hal_get_core_id()].ccount = 0; in ccomp_timer_impl_reset()
/hal_espressif-3.6.0/components/heap/include/
Dheap_trace.inc19 /* Encode the CPU ID in the LSB of the ccount value */
22 uint32_t ccount = cpu_hal_get_cycle_count() & ~3;
24 ccount |= xPortGetCoreID();
26 return ccount;
89 uint32_t ccount = get_ccount();
100 .ccount = ccount,
126 uint32_t ccount = get_ccount();
142 .ccount = ccount,
Desp_heap_trace.h41 …uint32_t ccount; ///< CCOUNT of the CPU when the allocation was made. LSB (bit value 1) is the CPU… member
/hal_espressif-3.6.0/components/esp_hw_support/
Dhw_random.c58 uint32_t ccount; in esp_random() local
61 ccount = cpu_hal_get_cycle_count(); in esp_random()
63 } while (ccount - last_ccount < cpu_to_apb_freq_ratio * APB_CYCLE_WAIT_NUM); in esp_random()
64 last_ccount = ccount; in esp_random()
/hal_espressif-3.6.0/components/freertos/test/
Dtest_preemption.c30 uint32_t ccount; in task_send_to_queue() local
34 ccount = cpu_hal_get_cycle_count(); in task_send_to_queue()
36 xQueueSendToBack(queue, &ccount, 0); in task_send_to_queue()
/hal_espressif-3.6.0/components/heap/
Dheap_trace_standalone.c139 rec->size, rec->address, rec->ccount & 1, rec->ccount & ~3); in heap_trace_dump()
/hal_espressif-3.6.0/zephyr/esp_shared/components/esp_pm/
Dpm_impl.c526 uint32_t ccount = cpu_hal_get_cycle_count(); in update_ccompare() local
528 if ((ccompare - CCOMPARE_MIN_CYCLES_IN_FUTURE) - ccount < UINT32_MAX / 2) { in update_ccompare()
529 uint32_t diff = ccompare - ccount; in update_ccompare()
532 uint32_t new_ccompare = ccount + diff_scaled; in update_ccompare()
/hal_espressif-3.6.0/components/esp_pm/
Dpm_impl.c535 uint32_t ccount = cpu_hal_get_cycle_count(); in update_ccompare() local
537 if ((ccompare - CCOMPARE_MIN_CYCLES_IN_FUTURE) - ccount < UINT32_MAX / 2) { in update_ccompare()
538 uint32_t diff = ccompare - ccount; in update_ccompare()
541 uint32_t new_ccompare = ccount + diff_scaled; in update_ccompare()
/hal_espressif-3.6.0/components/esp_ipc/test/
Dtest_ipc_isr.S59 rsr.ccount a3
/hal_espressif-3.6.0/components/esp_system/port/soc/esp32/
Dhighint_hdl.S320 rsr.ccount a2
439 1: rsr.ccount a2
465 2: rsr.ccount a4 /* delay_us(N) */
/hal_espressif-3.6.0/components/xtensa/include/xtensa/
Dxtruntime-core-state.h98 STRUCT_FIELD (long,4,CS_SA_,ccount)
/hal_espressif-3.6.0/components/bt/controller/esp32/
Dhli_vectors.S63 rsr.ccount a0
/hal_espressif-3.6.0/components/esp_hid/src/
Dble_hidh.c128 uint16_t ccount = 20; in read_device_services() local
129 …service_result[s].start_handle, service_result[s].end_handle, char_result, &ccount, 0) == ESP_OK) { in read_device_services()
130 for (uint16_t c = 0; c < ccount; c++) { in read_device_services()
/hal_espressif-3.6.0/components/newlib/test/
Dtest_time.c54 uint32_t ccount = xthal_get_ccount(); in time_adc_test_task() local
55 while (xthal_get_ccount() - ccount < 20 * TARGET_DEFAULT_CPU_FREQ_MHZ) { in time_adc_test_task()
/hal_espressif-3.6.0/docs/en/api-reference/system/
Dheap_debug.rst223 32 bytes (@ 0x3ffaf214) allocated CPU 0 ccount 0x2e9b7384 caller 0x400d276d:0x400d27c1
228 8 bytes (@ 0x3ffaf804) allocated CPU 0 ccount 0x2e9b79c0 caller 0x400d2776:0x400d27c1
241 32 bytes (@ 0x3ffaf214) allocated CPU 0 ccount 0x2e9b7384 caller
242 8 bytes (@ 0x3ffaf804) allocated CPU 0 ccount 0x2e9b79c0 caller
257 …- ``ccount 0x...`` is the CCOUNT (CPU cycle count) register value when the allocation was mode. Is…
Dipc.rst90 rsr.ccount a3