OpenOCD
|
Go to the source code of this file.
Functions | |
float | duration_elapsed (const struct duration *duration) |
float | duration_kbps (const struct duration *duration, size_t count) |
int | duration_measure (struct duration *duration) |
Update the duration->elapsed field to finish the duration measurement. More... | |
int | duration_start (struct duration *duration) |
Update the duration->start field to start the duration measurement. More... | |
int | timeval_add_time (struct timeval *result, long sec, long usec) |
int | timeval_compare (const struct timeval *x, const struct timeval *y) |
int | timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y) |
float duration_elapsed | ( | const struct duration * | duration | ) |
Definition at line 83 of file time_support.c.
References duration::elapsed, timeval::tv_sec, and timeval::tv_usec.
Referenced by COMMAND_HANDLER(), COMMAND_HELPER(), duration_kbps(), esp32_apptrace_poll(), esp32_sysview_stop(), esp_algorithm_load_func_image(), esp_algorithm_load_onboard_func(), and stmqspi_blank_check().
float duration_kbps | ( | const struct duration * | duration, |
size_t | count | ||
) |
Definition at line 90 of file time_support.c.
References count, and duration_elapsed().
Referenced by COMMAND_HANDLER(), COMMAND_HELPER(), esp32_apptrace_print_stats(), and stmqspi_blank_check().
int duration_measure | ( | struct duration * | duration | ) |
Update the duration->elapsed field to finish the duration measurement.
Definition at line 74 of file time_support.c.
References duration::elapsed, gettimeofday(), NULL, duration::start, and timeval_subtract().
Referenced by COMMAND_HANDLER(), COMMAND_HELPER(), esp32_apptrace_cmd_stop(), esp32_apptrace_poll(), esp32_apptrace_process_data(), esp32_cmd_apptrace_generic(), esp32_sysview_process_data(), esp32_sysview_stop(), esp_algorithm_load_func_image(), esp_algorithm_load_onboard_func(), nand_fileio_finish(), and stmqspi_blank_check().
int duration_start | ( | struct duration * | duration | ) |
Update the duration->start field to start the duration measurement.
Definition at line 69 of file time_support.c.
References gettimeofday(), NULL, and duration::start.
Referenced by COMMAND_HANDLER(), COMMAND_HELPER(), esp32_apptrace_check_connection(), esp32_apptrace_cmd_ctx_init(), esp32_apptrace_poll(), esp32_sysview_stop(), esp_algorithm_load_func_image(), esp_algorithm_load_onboard_func(), nand_fileio_start(), and stmqspi_blank_check().
int timeval_add_time | ( | struct timeval * | result, |
long | sec, | ||
long | usec | ||
) |
Definition at line 41 of file time_support.c.
References timeval::tv_sec, and timeval::tv_usec.
Referenced by cortex_m_profiling(), embeddedice_handshake(), esp_xtensa_profiling(), or1k_profiling(), presto_read(), setup_sysfs_gpio(), target_profiling_default(), xscale_read_tx(), and xscale_write_rx().
Definition at line 55 of file time_support.c.
References timeval::tv_sec, and timeval::tv_usec.
Referenced by cortex_m_profiling(), embeddedice_handshake(), esp_xtensa_profiling(), or1k_profiling(), presto_read(), setup_sysfs_gpio(), target_profiling_default(), and xscale_read_tx().
Definition at line 21 of file time_support.c.
References timeval::tv_sec, and timeval::tv_usec.
Referenced by COMMAND_HANDLER(), and duration_measure().