equal
deleted
inserted
replaced
54 |
54 |
55 // These three inlines are private to ThreadsSMRSupport, but |
55 // These three inlines are private to ThreadsSMRSupport, but |
56 // they are called by public inline update_tlh_stats() below: |
56 // they are called by public inline update_tlh_stats() below: |
57 |
57 |
58 inline void ThreadsSMRSupport::add_tlh_times(uint add_value) { |
58 inline void ThreadsSMRSupport::add_tlh_times(uint add_value) { |
59 Atomic::add(add_value, &_tlh_times); |
59 Atomic::add(&_tlh_times, add_value); |
60 } |
60 } |
61 |
61 |
62 inline void ThreadsSMRSupport::inc_tlh_cnt() { |
62 inline void ThreadsSMRSupport::inc_tlh_cnt() { |
63 Atomic::inc(&_tlh_cnt); |
63 Atomic::inc(&_tlh_cnt); |
64 } |
64 } |