コード例 #1
0
ファイル: ExecutionEngine.java プロジェクト: vipwzw/voltdb
 /**
  * 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);
   }
 }
コード例 #2
0
ファイル: ExecutionEngine.java プロジェクト: vipwzw/voltdb
 /** Start collecting statistics (starts timer). */
 protected void startStatsCollection() {
   if (m_plannerStats != null) {
     m_plannerStats.startStatsCollection();
   }
 }