MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mem_used

Function mem_used

freebsd/contrib/zlib/test/infcover.c:184–189  ·  view source on GitHub ↗

show the current total requested allocations in bytes */

Source from the content-addressed store, hash-verified

182
183/* show the current total requested allocations in bytes */
184local 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 */
192local void mem_high(z_stream *strm, char *prefix)

Callers 1

cover_supportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected