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

Function omPrintStats

omalloc/omStats.c:118–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void omPrintStats(FILE* fd)
119{
120 omUpdateInfo();
121 fprintf(fd, "System %ldk:%ldk Appl %ldk/%ldk Malloc %ldk/%ldk Valloc %ldk/%ldk Pages %ld/%ld Regions %ld:%ld Internal: %ld\n",
122 om_Info.CurrentBytesSystem/1024, om_Info.MaxBytesSystem/1024,
123 om_Info.UsedBytes/1024, om_Info.AvailBytes/1024,
124 om_Info.UsedBytesMalloc/1024, om_Info.AvailBytesMalloc/1024,
125 om_Info.CurrentBytesFromValloc/1024, om_Info.AvailBytesFromValloc/1024,
126 om_Info.UsedPages, om_Info.AvailPages,
127 om_Info.CurrentRegionsAlloc, om_Info.MaxRegionsAlloc,
128 om_Info.InternalUsedBytesMalloc);
129}
130
131
132void omPrintInfo(FILE* fd)

Callers 3

jjMEMORYFunction · 0.85
omSingOutOfMemoryFuncFunction · 0.85
mainFunction · 0.85

Calls 1

omUpdateInfoFunction · 0.85

Tested by 1

mainFunction · 0.68