| 1 |
#ifndef STATISTICS_HANDLER_TEST_H |
| 2 |
#define STATISTICS_HANDLER_TEST_H |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
#include <aws/common/condition_variable.h> |
| 10 |
#include <aws/common/mutex.h> |
| 11 |
#include <aws/io/statistics.h> |
| 12 |
|
| 13 |
struct aws_statistics_handler_test_impl { |
| 14 |
uint64_t start_time_ns; |
| 15 |
|
| 16 |
uint64_t total_bytes_read; |
| 17 |
uint64_t total_bytes_written; |
| 18 |
|
| 19 |
enum aws_tls_negotiation_status tls_status; |
| 20 |
|
| 21 |
struct aws_mutex lock; |
| 22 |
struct aws_condition_variable signal; |
| 23 |
}; |
| 24 |
|
| 25 |
struct aws_crt_statistics_handler *aws_statistics_handler_new_test(struct aws_allocator *allocator); |
| 26 |
|
| 27 |
#endif |