Beispiel #1
0
 /**
  * Finalize collected statistics (stops timer and supplies cache statistics).
  *
  * @param cacheSize size of cache
  * @param cacheUse where the plan came from
  */
 protected void endStatsCollection(long cacheSize, CacheUse cacheUse) {
   if (m_plannerStats != null) {
     m_plannerStats.endStatsCollection(cacheSize, 0, cacheUse, m_partitionId);
   }
 }
Beispiel #2
0
 /** Start collecting statistics (starts timer). */
 protected void startStatsCollection() {
   if (m_plannerStats != null) {
     m_plannerStats.startStatsCollection();
   }
 }