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

Function _omPrintUsedAddr

omalloc/omDebugCheck.c:551–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549static int om_print_frames;
550
551static void _omPrintUsedAddr(void* addr)
552{
553 if (!omIsTrackAddr(addr) || !omIsStaticTrackAddr(addr))
554 {
555 om_total_used_blocks++;
556 om_total_used_size += omSizeOfAddr(addr);
557 if (om_print_frames > 0)
558 {
559 _omPrintAddrInfo(om_print_used_addr_fd, omError_NoError, addr, NULL, 0, om_print_frames, "");
560 fputc('\n',om_print_used_addr_fd);
561 }
562 }
563}
564
565void omPrintUsedAddrs(FILE* fd, int max)
566{

Callers

nothing calls this directly

Calls 3

omIsStaticTrackAddrFunction · 0.85
omSizeOfAddrFunction · 0.85
_omPrintAddrInfoFunction · 0.85

Tested by

no test coverage detected