61 inline void update_capacity() { |
61 inline void update_capacity() { |
62 _capacity->set_value(_gen->capacity()); |
62 _capacity->set_value(_gen->capacity()); |
63 } |
63 } |
64 |
64 |
65 inline void update_used() { |
65 inline void update_used() { |
66 _used->set_value(_gen->used()); |
66 _used->set_value(_gen->used_stable()); |
67 } |
67 } |
68 |
68 |
69 // special version of update_used() to allow the used value to be |
69 // special version of update_used() to allow the used value to be |
70 // passed as a parameter. This method can can be used in cases were |
70 // passed as a parameter. This method can can be used in cases were |
71 // the utilization is already known and/or when the _gen->used() |
71 // the utilization is already known and/or when the _gen->used() |