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