Definition at line 88 of file ProcessInfo.h. References Dump(), Impala::Process::GetMemUsage(), ILOG_WARN, mDumpFreq, mIsActive, mMemFrom, mNetMemIncr, mNrCalls, mNrCallsDecr, mNrCallsIncr, and mTag. 00089 { 00090 if (!mIsActive) 00091 { 00092 ILOG_WARN("Not active (" << mTag << ")"); 00093 return; 00094 } 00095 00096 mNrCalls++; 00097 Int64 memTo = GetMemUsage(); 00098 Int64 memIncr = memTo - mMemFrom; 00099 if (memIncr != 0) 00100 { 00101 if (mMemFrom < memTo) 00102 mNrCallsIncr++; 00103 else 00104 mNrCallsDecr++; 00105 mNetMemIncr += memIncr; 00106 } 00107 mIsActive = false; 00108 00109 if (mDumpFreq > 0) 00110 if (mNrCalls % mDumpFreq == 0) 00111 Dump(); 00112 }
Here is the call graph for this function:
|