equal
deleted
inserted
replaced
19 #include <glib.h> |
19 #include <glib.h> |
20 |
20 |
21 #include <stdio.h> |
21 #include <stdio.h> |
22 #include <string.h> |
22 #include <string.h> |
23 #include <sys/time.h> // gettimeofday |
23 #include <sys/time.h> // gettimeofday |
|
24 #include <stdlib.h> |
24 |
25 |
25 #define quick_rand32() (rand_accu = 1664525 * rand_accu + 1013904223, rand_accu) |
26 #define quick_rand32() (rand_accu = 1664525 * rand_accu + 1013904223, rand_accu) |
26 static guint prime_size = 1021; // 769; // 509 |
27 static guint prime_size = 1021; // 769; // 509 |
27 static gboolean clean_memchunks = FALSE; |
28 static gboolean clean_memchunks = FALSE; |
28 static guint number_of_blocks = 10000; /* total number of blocks allocated */ |
29 static guint number_of_blocks = 10000; /* total number of blocks allocated */ |