hotspot/src/share/vm/runtime/perfData.hpp
changeset 3575 224791e7ecab
parent 1 489c9b5090e2
child 3795 6227ff014cfe
equal deleted inserted replaced
3001:9b4390b8c6f7 3575:224791e7ecab
   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.