#include <hpm_log.h>
Data Fields | |
| uint64_t(* | get_timestamp )(void) |
| Function pointer to get the current timestamp. More... | |
| long(* | critical_enter )(void) |
| Function pointer to enter a critical section. More... | |
| void(* | critical_exit )(long val) |
| Function pointer to exit a critical section. More... | |
| long(* hpm_log_config::critical_enter) (void) |
Function pointer to enter a critical section.
This function is called to enter a critical section to protect shared resources.
| void(* hpm_log_config::critical_exit) (long val) |
Function pointer to exit a critical section.
This function is called to exit a critical section and restore the previous state.
| val | The value obtained from the corresponding critical_enter call. |
| uint64_t(* hpm_log_config::get_timestamp) (void) |
Function pointer to get the current timestamp.
This function is called to obtain the current timestamp.