diff options
author | Siri Hansen <[email protected]> | 2013-06-03 17:21:48 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2013-06-04 10:53:13 +0200 |
commit | 2cf4e22e4916d802d03de5f532bf86e9e8d8934b (patch) | |
tree | 05dc929759df2ec5465c8fd4e75e39b24e0d6141 | |
parent | 3b42532a099338b5008e60f9d352282da5a90588 (diff) | |
download | otp-2cf4e22e4916d802d03de5f532bf86e9e8d8934b.tar.gz otp-2cf4e22e4916d802d03de5f532bf86e9e8d8934b.tar.bz2 otp-2cf4e22e4916d802d03de5f532bf86e9e8d8934b.zip |
[observer] Add mbcs_pool to allocator info in system window
-rw-r--r-- | lib/observer/src/observer_sys_wx.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/observer/src/observer_sys_wx.erl b/lib/observer/src/observer_sys_wx.erl index 54612b58ae..31800cf12a 100644 --- a/lib/observer/src/observer_sys_wx.erl +++ b/lib/observer/src/observer_sys_wx.erl @@ -147,6 +147,9 @@ sum_alloc_one_instance([{sbmbcs,[{blocks_size,BS,_,_},{carriers_size,CS,_,_}]}| sum_alloc_one_instance([{_,[{blocks_size,BS,_,_},{carriers_size,CS,_,_}]}| Rest],OldBS,OldCS,TotalBS,TotalCS) -> sum_alloc_one_instance(Rest,OldBS+BS,OldCS+CS,TotalBS+BS,TotalCS+CS); +sum_alloc_one_instance([{_,[{blocks_size,BS},{carriers_size,CS}]}| + Rest],OldBS,OldCS,TotalBS,TotalCS) -> + sum_alloc_one_instance(Rest,OldBS+BS,OldCS+CS,TotalBS+BS,TotalCS+CS); sum_alloc_one_instance([_|Rest],BS,CS,TotalBS,TotalCS) -> sum_alloc_one_instance(Rest,BS,CS,TotalBS,TotalCS); sum_alloc_one_instance([],BS,CS,TotalBS,TotalCS) -> |