From aaf2a4921327326540edbd7ef6bf5154c9195ed1 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 23 Jul 2020 16:00:45 +0200 Subject: add tracing of execution times --- include/chattymalloc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/chattymalloc.h b/include/chattymalloc.h index e009eff..4e8100f 100644 --- a/include/chattymalloc.h +++ b/include/chattymalloc.h @@ -19,6 +19,7 @@ along with chattymalloc. If not, see . #include // uint8_t #include // pid_t +#include // pid_t enum functions { UNINITIALIZED, @@ -35,6 +36,7 @@ enum functions { }; typedef struct trace { + struct timespec duration; void *ptr; size_t size; size_t var_arg; -- cgit v1.2.3