| Return Type | Function name | Arguments |
|---|---|---|
| void | hzSSR::Report | (hzChain&,) |
Declared in file: hzSSR.h
Defined in file : hzSSR.cpp
Function Logic:
Function body:
void hzSSR::Report (hzChain& report)
{
_hzfunc("hzSSR::Report") ;
uint32_t n ;
if (!this)
hzexit(E_CORRUPT, "No instance") ;
report.Clear() ;
report << "SSR Integrity Report\n" ;
report.Printf("Live Item population: %s\n", FormalNumber(m_nLive)) ;
report.Printf("Total allocations: %s\n", FormalNumber(m_nAllocNew + m_nAllocOld)) ;
report.Printf("New allocs: %s\n", FormalNumber(m_nAllocNew)) ;
report.Printf("Reallocations: %s\n", FormalNumber(m_nAllocOld)) ;
report.Printf("Total releases (free) %s\n", FormalNumber(m_nReleases)) ;
report << "Freelists\n" ;
for (n = 0; n < 32;n++)
{
if (m_flistItem[n] == 0&& m_flistPopl[n] == 0)
continue ;
if (m_flistItem[n] && m_flistPopl[n])
{
report.Printf("\tUnit %u: %s\n", n+1,FormalNumber(m_flistPopl[n])) ;
continue ;
}
report.Printf("\tUnit %u: Error free list addr %u, population %s\n", n+1,m_flistItem[n], FormalNumber(m_flistPopl[n])) ;
}
/*
** for (n = 0 ; n < 32 ; n++)
** {
** if (m_flistItem[n] == 0 && m_flistPopl[n] == 0)
** continue ;
**
** if (m_flistItem[n] && m_flistPopl[n])
** {
** threadLog("\tUnit %u: %u\n", n+1, m_flistPopl[n]) ;
** continue ;
** }
**
** threadLog("\tError found for n=%u\n", n+1) ;
** }
** */
}