Пример #1
0
 void set_rate(float rate, TRAPS) {
   MethodCounters* mcs = get_method_counters(CHECK);
   if (mcs != NULL) {
     mcs->set_rate(rate);
   }
 }
Пример #2
0
 void set_rate(float rate) {
   MethodCounters* mcs = method_counters();
   if (mcs != NULL) {
     mcs->set_rate(rate);
   }
 }