static long getTotalUsage ( Map < String , MemoryUsage > usages ) { long sum = 0L ; for ( Map . Entry < String , MemoryUsage > e : usages . entrySet ( ) ) { sum += e . getValue ( ) . getUsed ( ) ; } return sum ; }
Compute the total usage across all pools .