| 1673 | // Output mem alloc stats |
| 1674 | const int N_PAGE_SIZE = 4096; |
| 1675 | static void DebugTraceMMgr(const char* pszFormat, ...) // __cdecl |
| 1676 | { |
| 1677 | static char buff[20000]; |
| 1678 | va_list va; |
| 1679 | // |
| 1680 | va_start(va, pszFormat); |
| 1681 | vsprintf(buff, pszFormat, va); |
| 1682 | va_end(va); |
| 1683 | // |
| 1684 | #ifdef _win_ |
| 1685 | OutputDebugStringA(buff); |
| 1686 | #else |
| 1687 | fputs(buff, stderr); |
| 1688 | #endif |
| 1689 | } |
| 1690 | |
| 1691 | struct TChunkStats { |
| 1692 | char *Start, *Finish; |
no test coverage detected