| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
#include <aws/common/statistics.h> |
| 7 |
|
| 8 |
void aws_crt_statistics_handler_process_statistics( |
| 9 |
struct aws_crt_statistics_handler *handler, |
| 10 |
struct aws_crt_statistics_sample_interval *interval, |
| 11 |
struct aws_array_list *stats, |
| 12 |
void *context) { |
| 13 |
handler->vtable->process_statistics(handler, interval, stats, context); |
| 14 |
} |
| 15 |
|
| 16 |
uint64_t aws_crt_statistics_handler_get_report_interval_ms(struct aws_crt_statistics_handler *handler) { |
| 17 |
return handler->vtable->get_report_interval_ms(handler); |
| 18 |
} |
| 19 |
|
| 20 |
void aws_crt_statistics_handler_destroy(struct aws_crt_statistics_handler *handler) { |
| 21 |
if (handler == NULL) { |
| 22 |
return; |
| 23 |
} |
| 24 |
|
| 25 |
handler->vtable->destroy(handler); |
| 26 |
} |