当前位置: 首页>>代码示例>>C++>>正文


C++ PerfVariable类代码示例

本文整理汇总了C++中PerfVariable的典型用法代码示例。如果您正苦于以下问题:C++ PerfVariable类的具体用法?C++ PerfVariable怎么用?C++ PerfVariable使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了PerfVariable类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: get_live_thread_count

 static jlong get_live_thread_count()        { return _live_threads_count->get_value() - _exiting_threads_count; }
开发者ID:ismo1652,项目名称:jvmnotebook,代码行数:1,代码来源:threadService.hpp

示例2: update_change_young_gen_for_maj_pauses

 inline void update_change_young_gen_for_maj_pauses() {
   _change_young_gen_for_maj_pauses_counter->set_value(
     ps_size_policy()->change_young_gen_for_maj_pauses());
 }
开发者ID:641252154,项目名称:HotSpot-JVM-Linux-x86-Research,代码行数:4,代码来源:psGCAdaptivePolicyCounters.hpp

示例3: update_avg_major_interval

 inline void update_avg_major_interval() {
   _avg_major_interval->set_value(
     (jlong)(ps_size_policy()->_avg_major_interval->average() * 1000.0)
   );
 }
开发者ID:641252154,项目名称:HotSpot-JVM-Linux-x86-Research,代码行数:5,代码来源:psGCAdaptivePolicyCounters.hpp

示例4: update_promo_size

 inline void update_promo_size() {
   _promo_size_counter->set_value(
     size_policy()->calculated_promo_size_in_bytes());
 }
开发者ID:GregBowyer,项目名称:ManagedRuntimeInitiative,代码行数:4,代码来源:gcAdaptivePolicyCounters.hpp

示例5: update_avg_promoted_padded_avg

 inline void update_avg_promoted_padded_avg() {
   _avg_promoted_padded_avg_counter->set_value(
     (jlong)(ps_size_policy()->avg_promoted()->padded_average())
   );
 }
开发者ID:641252154,项目名称:HotSpot-JVM-Linux-x86-Research,代码行数:5,代码来源:psGCAdaptivePolicyCounters.hpp

示例6: update_decrement_tenuring_threshold_for_gc_cost

 inline void update_decrement_tenuring_threshold_for_gc_cost() {
   _decrement_tenuring_threshold_for_gc_cost_counter->set_value(
     size_policy()->decrement_tenuring_threshold_for_gc_cost());
 }
开发者ID:GregBowyer,项目名称:ManagedRuntimeInitiative,代码行数:4,代码来源:gcAdaptivePolicyCounters.hpp

示例7: update_major_collection_slope_counter

 inline void update_major_collection_slope_counter() {
   _major_collection_slope_counter->set_value(
     (jlong)(size_policy()->major_collection_slope() * 1000)
   );
 }
开发者ID:GregBowyer,项目名称:ManagedRuntimeInitiative,代码行数:5,代码来源:gcAdaptivePolicyCounters.hpp

示例8: update_avg_young_live_counter

 inline void update_avg_young_live_counter() {
   _avg_young_live_counter->set_value(
     (jlong)(size_policy()->avg_young_live()->average())
   );
 }
开发者ID:GregBowyer,项目名称:ManagedRuntimeInitiative,代码行数:5,代码来源:gcAdaptivePolicyCounters.hpp

示例9: update_avg_survived_dev_counters

 inline void update_avg_survived_dev_counters() {
   _avg_survived_dev_counter->set_value(
     (jlong)(size_policy()->_avg_survived->deviation())
   );
 }
开发者ID:GregBowyer,项目名称:ManagedRuntimeInitiative,代码行数:5,代码来源:gcAdaptivePolicyCounters.hpp

示例10: update_minor_pause_counter

 inline void update_minor_pause_counter() {
   _minor_pause_counter->set_value((jlong)
     (size_policy()->avg_minor_pause()->last_sample() * 1000.0));
 }
开发者ID:GregBowyer,项目名称:ManagedRuntimeInitiative,代码行数:4,代码来源:gcAdaptivePolicyCounters.hpp

示例11: update_minor_gc_cost_counter

 inline void update_minor_gc_cost_counter() {
   _minor_gc_cost_counter->set_value((jlong)
     (size_policy()->minor_gc_cost() * 100.0));
 }
开发者ID:GregBowyer,项目名称:ManagedRuntimeInitiative,代码行数:4,代码来源:gcAdaptivePolicyCounters.hpp

示例12: class_method_data_size

 static jlong class_method_data_size() {
   return (UsePerfData ? _class_methods_size->get_value() : -1);
 }
开发者ID:guanxiaohua,项目名称:TransGC,代码行数:3,代码来源:classLoadingService.hpp

示例13: add_class_method_size

 static void add_class_method_size(int size) {
   if (UsePerfData) {
     _class_methods_size->inc(size);
   }
 }
开发者ID:guanxiaohua,项目名称:TransGC,代码行数:5,代码来源:classLoadingService.hpp

示例14: get_daemon_thread_count

 static jlong get_daemon_thread_count()      { return _daemon_threads_count->get_value() - _exiting_daemon_threads_count; }
开发者ID:ismo1652,项目名称:jvmnotebook,代码行数:1,代码来源:threadService.hpp

示例15: update_young_capacity

 inline void update_young_capacity(size_t size_in_bytes) {
   _young_capacity_counter->set_value(size_in_bytes);
 }
开发者ID:GregBowyer,项目名称:ManagedRuntimeInitiative,代码行数:3,代码来源:gcAdaptivePolicyCounters.hpp


注:本文中的PerfVariable类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。