Mercurial > hg > truffle
comparison src/share/vm/runtime/perfData.hpp @ 875:6a93908f268f
6857194: Add hotspot perf counters to aid class loading performance measurement
Summary: Add new jvmstat counters to measure detailed class loading time
Reviewed-by: acorn, kamg
author | mchung |
---|---|
date | Fri, 10 Jul 2009 11:10:00 -0700 |
parents | a61af66fc99e |
children | 89e0543e1737 |
comparison
equal
deleted
inserted
replaced
812:85d0690f7d12 | 875:6a93908f268f |
---|---|
866 | 866 |
867 #define NEWPERFEVENTCOUNTER(counter, counter_ns, counter_name) \ | 867 #define NEWPERFEVENTCOUNTER(counter, counter_ns, counter_name) \ |
868 {counter = PerfDataManager::create_counter(counter_ns, counter_name, \ | 868 {counter = PerfDataManager::create_counter(counter_ns, counter_name, \ |
869 PerfData::U_Events,CHECK);} | 869 PerfData::U_Events,CHECK);} |
870 | 870 |
871 #define NEWPERFBYTECOUNTER(counter, counter_ns, counter_name) \ | |
872 {counter = PerfDataManager::create_counter(counter_ns, counter_name, \ | |
873 PerfData::U_Bytes,CHECK);} | |
874 | |
871 // Utility Classes | 875 // Utility Classes |
872 | 876 |
873 /* | 877 /* |
874 * this class will administer a PerfCounter used as a time accumulator | 878 * this class will administer a PerfCounter used as a time accumulator |
875 * for a basic block much like the TraceTime class. | 879 * for a basic block much like the TraceTime class. |