================= String_Report ================= */
| 1367 | ================= |
| 1368 | */ |
| 1369 | void 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 | ================= |
no test coverage detected