From f3af39ee42b954ec0486986c7cfac9ee44cd63e4 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sun, 16 Jan 2022 12:47:33 +0100 Subject: Added performance tests tools --- src/include/ndpi_api.h.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/ndpi_api.h.in b/src/include/ndpi_api.h.in index 02436b285..f94fd4093 100644 --- a/src/include/ndpi_api.h.in +++ b/src/include/ndpi_api.h.in @@ -118,7 +118,8 @@ extern "C" { void ndpi_free(void *ptr); void * ndpi_flow_malloc(size_t size); void ndpi_flow_free(void *ptr); - + u_int32_t ndpi_get_tot_allocated_memory(); + /** * Search the first occurrence of substring -find- in -s- * The search is limited to the first -slen- characters of the string -- cgit v1.2.3