MCPcopy Create free account
hub / github.com/Singular/Singular / omPrintUsedAddrs

Function omPrintUsedAddrs

omalloc/omDebugCheck.c:565–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563}
564
565void omPrintUsedAddrs(FILE* fd, int max)
566{
567 om_total_used_size = 0;
568 om_total_used_blocks = 0;
569 om_print_used_addr_fd = (fd == NULL ? stdout : fd);
570 om_print_frames = max;
571 omIterateTroughAddrs(1, 1, _omPrintUsedAddr, NULL);
572 fprintf(fd, "UsedAddrs Summary: UsedBlocks:%ld TotalSize:%ld\n",
573 om_total_used_blocks, (long)om_total_used_size);
574}
575
576void omPrintUsedTrackAddrs(FILE* fd, int max)
577{

Callers 1

mainFunction · 0.85

Calls 1

omIterateTroughAddrsFunction · 0.85

Tested by 1

mainFunction · 0.68