diff options
Diffstat (limited to 'profile')
-rw-r--r-- | profile/benchmark-dictionary.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/profile/benchmark-dictionary.c b/profile/benchmark-dictionary.c index 6e52479755..846e3c61ac 100644 --- a/profile/benchmark-dictionary.c +++ b/profile/benchmark-dictionary.c @@ -8,6 +8,7 @@ */ #include <stdio.h> +#include <stdlib.h> #include <inttypes.h> #include "dictionary.h" @@ -19,6 +20,8 @@ struct myvalue { int i; }; +void netdata_cleanup_and_exit(int ret) { exit(ret); } + int main(int argc, char **argv) { if(argc || argv) {;} @@ -30,7 +33,7 @@ int main(int argc, char **argv) { unsigned long long dt; char buf[100 + 1]; struct myvalue value, *v; - int i, max = 100000, max2; + int i, max = 30000000, max2; // ------------------------------------------------------------------------ |