MCPcopy Create free account
hub / github.com/JACoders/OpenJK / String_Report

Function String_Report

code/ui/ui_shared.cpp:1369–1382  ·  view source on GitHub ↗

================= String_Report ================= */

Source from the content-addressed store, hash-verified

1367=================
1368*/
1369void String_Report(void)
1370{
1371 float f;
1372 Com_Printf("Memory/String Pool Info\n");
1373 Com_Printf("----------------\n");
1374 f = strPoolIndex;
1375 f /= STRING_POOL_SIZE;
1376 f *= 100;
1377 Com_Printf("String Pool is %.1f%% full, %i bytes out of %i used.\n", f, strPoolIndex, STRING_POOL_SIZE);
1378 f = allocPoint;
1379 f /= MEM_POOL_SIZE;
1380 f *= 100;
1381 Com_Printf("Memory Pool is %.1f%% full, %i bytes out of %i used.\n", f, allocPoint, MEM_POOL_SIZE);
1382}
1383
1384/*
1385=================

Callers 1

UI_ReportFunction · 0.70

Calls 1

Com_PrintfFunction · 0.50

Tested by

no test coverage detected