Arrived at given DB_FILE in a "bookmark" walk.
Reimplemented from Impala::Core::ImageSet::Listener. Definition at line 91 of file Reporter.h. References AllDoneFile(), ILOG_DEBUG, ILOG_INFO, Impala::Core::Array::ArraySystem::Instance(), mDoPrint, mMaster, mNrBookmarks, mNrDone, and mReport. 00093 { 00094 if (mMaster) 00095 ILOG_DEBUG(".. new file id = " << fileId); 00096 if (mMaster) 00097 { 00098 mMaster->AllDoneFile(); 00099 return; 00100 } 00101 mDoPrint = false; 00102 mNrDone++; 00103 if ((mReport > 0) && (mNrDone % mReport == 0)) 00104 mDoPrint = true; 00105 if (mDoPrint) 00106 { 00107 int nrFiles = mNrBookmarks; 00108 int perc = (int) (((double)mNrDone / (double)nrFiles) * 100); 00109 ILOG_INFO("-- file " << mNrDone << " of " << nrFiles 00110 << " (at " << perc << "%)"); 00111 } 00112 Array::ArraySystem::Instance().MarkMemoryUsage(false); 00113 }
Here is the call graph for this function:
|