< prev index next >

src/share/vm/gc/g1/g1StringDedupStat.hpp

Print this page




 118   void mark_block() {
 119     double now = os::elapsedTime();
 120     _exec_elapsed += now - _start;
 121     _start = now;
 122     _block++;
 123   }
 124 
 125   void mark_unblock() {
 126     double now = os::elapsedTime();
 127     _block_elapsed += now - _start;
 128     _start = now;
 129   }
 130 
 131   void mark_done() {
 132     double now = os::elapsedTime();
 133     _exec_elapsed += now - _start;
 134   }
 135 
 136   void add(const G1StringDedupStat& stat);
 137 
 138   static void print_summary(outputStream* st, const G1StringDedupStat& last_stat, const G1StringDedupStat& total_stat);
 139   static void print_statistics(outputStream* st, const G1StringDedupStat& stat, bool total);
 140 };
 141 
 142 #endif // SHARE_VM_GC_G1_G1STRINGDEDUPSTAT_HPP


 118   void mark_block() {
 119     double now = os::elapsedTime();
 120     _exec_elapsed += now - _start;
 121     _start = now;
 122     _block++;
 123   }
 124 
 125   void mark_unblock() {
 126     double now = os::elapsedTime();
 127     _block_elapsed += now - _start;
 128     _start = now;
 129   }
 130 
 131   void mark_done() {
 132     double now = os::elapsedTime();
 133     _exec_elapsed += now - _start;
 134   }
 135 
 136   void add(const G1StringDedupStat& stat);
 137 
 138   static void print_summary(const G1StringDedupStat& last_stat, const G1StringDedupStat& total_stat);
 139   static void print_statistics(const G1StringDedupStat& stat, bool total);
 140 };
 141 
 142 #endif // SHARE_VM_GC_G1_G1STRINGDEDUPSTAT_HPP
< prev index next >