2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 10:37:41 -04:00

Kill hsMalloc to the best of our ability.

This commit is contained in:
Darryl Pogue
2012-01-21 16:26:08 -08:00
committed by Adam Johnson
parent a14a171774
commit 63a9eea771
5 changed files with 0 additions and 128 deletions

View File

@ -648,55 +648,6 @@ PF_CONSOLE_CMD(Stats, ProfileAllAgeLoads, "", "Turns on Registry.LogReadTimes an
#endif // LIMIT_CONSOLE_COMMANDS
//////////////////////////////////////////////////////////////////////////////
//// Memory Commands ////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
#ifndef LIMIT_CONSOLE_COMMANDS
PF_CONSOLE_GROUP( Memory )
#ifdef HS_FIND_MEM_LEAKS
PF_CONSOLE_CMD( Memory, DumpAllocReport, // Group name, Function name
"", // Params
"Dump heap allocations to file." ) // Help string
{
MemDumpAllocReport();
}
PF_CONSOLE_CMD(Memory,
ValidateNow,
"",
"Validate all heap allocations")
{
MemValidateNow();
}
PF_CONSOLE_CMD(Memory,
SetValidation,
"bool on",
"Validate all heap allocations each time memory is alloced or freed.")
{
MemSetValidation((bool)params[0]);
}
PF_CONSOLE_CMD(Memory,
DumpUsage,
"",
"Dump heap usage to file")
{
MemDumpUsageReport();
}
#endif
#endif // LIMIT_CONSOLE_COMMANDS
//////////////////////////////////////////////////////////////////////////////
//// Console Group Commands //////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////