comparison vmalloc.c @ 68:9c3107044f86

Added measurement hists macros
author Me
date Sat, 20 Nov 2010 08:19:05 +0100
parents 13b22ffb8a2f
children 9ddbb071142d
comparison
equal deleted inserted replaced
5:b9bccc28ac9e 7:ec7c30cec7bc
9 9
10 #include <malloc.h> 10 #include <malloc.h>
11 #include <stdlib.h> 11 #include <stdlib.h>
12 12
13 #include "VMS.h" 13 #include "VMS.h"
14 #include "Histogram/Histogram.h"
14 15
15 /*Helper function 16 /*Helper function
16 *Insert a newly generated free chunk into the first spot on the free list. 17 *Insert a newly generated free chunk into the first spot on the free list.
17 * The chunk is cast as a MallocProlog, so the various pointers in it are 18 * The chunk is cast as a MallocProlog, so the various pointers in it are
18 * accessed with C's help -- and the size of the prolog is easily added to 19 * accessed with C's help -- and the size of the prolog is easily added to