Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

Int64 Impala::Core::Array::ArraySystem::MemoryUsageSinceMark ( bool  verb = false  )  const [inline]

Definition at line 130 of file ArraySystem.h.

References AllocUsageMark(), Impala::Process::MemoryInfo::Bytes2String(), DumpMap(), ILOG_INFO, mMemUse, mMemUseMark, mNrAlloc, mNrDealloc, NrAllocMark(), and NrDeallocMark().

Referenced by CheckMemoryUsageSinceMark().

00131     {
00132         Int64 memUseSinceMark = mMemUse - mMemUseMark;
00133         String b1 = Process::MemoryInfo::Bytes2String(mMemUse - mMemUseMark);
00134         String b2 = Process::MemoryInfo::Bytes2String(mMemUse);
00135         if (verb)
00136         {
00137             ILOG_INFO("Memory usage since last mark: " << memUseSinceMark
00138                       << " (" << b1 << ")"
00139                       << ", nr alloc: " << NrAllocMark()
00140                       << ", nr dealloc: " << NrDeallocMark()
00141                       << ", alloc usage: " << AllocUsageMark());
00142             ILOG_INFO("     total memory usage: " << mMemUse
00143                       << " (" << b2 << ")"
00144                       << ", nr alloc: " << mNrAlloc
00145                       << ", nr dealloc: " << mNrDealloc
00146                       << ", alloc usage: " << mNrAlloc - mNrDealloc);
00147             DumpMap();
00148         }
00149         return memUseSinceMark;
00150     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:17:16 2011 for ImpalaSrc by  doxygen 1.5.1