本文整理汇总了C++中PerfVariable::set_value方法的典型用法代码示例。如果您正苦于以下问题:C++ PerfVariable::set_value方法的具体用法?C++ PerfVariable::set_value怎么用?C++ PerfVariable::set_value使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PerfVariable
的用法示例。
在下文中一共展示了PerfVariable::set_value方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: update_gc_overhead_limit_exceeded_counter
inline void update_gc_overhead_limit_exceeded_counter() {
_gc_overhead_limit_exceeded_counter->set_value(
(jlong) ps_size_policy()->gc_overhead_limit_exceeded());
}
示例2: update_survivor_overflowed
inline void update_survivor_overflowed(bool survivor_overflowed) {
_survivor_overflowed_counter->set_value(survivor_overflowed);
}
示例3: update_decrement_tenuring_threshold_for_survivor_limit
inline void update_decrement_tenuring_threshold_for_survivor_limit() {
_decrement_tenuring_threshold_for_survivor_limit_counter->set_value(
size_policy()->decrement_tenuring_threshold_for_survivor_limit());
}
示例4: update_minor_pause_young_slope_counter
inline void update_minor_pause_young_slope_counter() {
_minor_pause_young_slope_counter->set_value(
(jlong)(size_policy()->minor_pause_young_slope() * 1000)
);
}
示例5: update_promoted
inline void update_promoted(size_t promoted) {
_promoted_counter->set_value(promoted);
}
示例6: update_avg_survived_padded_avg_counters
inline void update_avg_survived_padded_avg_counters() {
_avg_survived_padded_avg_counter->set_value(
(jlong)(size_policy()->_avg_survived->padded_average())
);
}
示例7: update_decrease_for_footprint
inline void update_decrease_for_footprint() {
_decrease_for_footprint_counter->set_value(
size_policy()->decrease_for_footprint());
}
示例8: update_old_promo_size
inline void update_old_promo_size(size_t old_size) {
_old_promo_size->set_value(old_size);
}
示例9: update_boundary_moved
inline void update_boundary_moved(int size_in_bytes) {
_boundary_moved->set_value(size_in_bytes);
}
示例10: update_old_capacity
inline void update_old_capacity(size_t size_in_bytes) {
_old_capacity->set_value(size_in_bytes);
}
示例11: update_old_eden_size
inline void update_old_eden_size(size_t old_size) {
_old_eden_size->set_value(old_size);
}
示例12: update_full_follows_scavenge
inline void update_full_follows_scavenge(int event) {
_full_follows_scavenge->set_value(event);
}
示例13: update_scavenge_skipped
inline void update_scavenge_skipped(int cause) {
_scavenge_skipped->set_value(cause);
}
示例14: update_live_at_last_full_gc_counter
inline void update_live_at_last_full_gc_counter() {
_live_at_last_full_gc_counter->set_value(
(jlong)(ps_size_policy()->live_at_last_full_gc()));
}
示例15: 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())
);
}