mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 03:03:34 +08:00
perf_counter: add perf_print_counter_buffer & perf_iterate_all
These can be used to print the perf counters to a buffer.
This commit is contained in:
@@ -144,6 +144,16 @@ void perf_print_counter_fd(int fd, perf_counter_t handle)
|
||||
|
||||
}
|
||||
|
||||
int perf_print_counter_buffer(char *buffer, int length, perf_counter_t handle)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void perf_iterate_all(perf_callback cb, void *user)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Print all of the performance counters.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user