show the current total requested allocations in bytes */
| 182 | |
| 183 | /* show the current total requested allocations in bytes */ |
| 184 | local void mem_used(z_stream *strm, char *prefix) |
| 185 | { |
| 186 | struct mem_zone *zone = strm->opaque; |
| 187 | |
| 188 | fprintf(stderr, "%s: %lu allocated\n", prefix, zone->total); |
| 189 | } |
| 190 | |
| 191 | /* show the high water allocation in bytes */ |
| 192 | local void mem_high(z_stream *strm, char *prefix) |