Commit 8edb7994 authored by Srinivasan Ramesh's avatar Srinivasan Ramesh Committed by Philip Carns
Browse files

Fix minor issues with pool size watermark collection

parent 68981ab7
......@@ -2407,12 +2407,12 @@ static void margo_breadcrumb_measure(margo_instance_id mid, uint64_t rpc_breadcr
ABT_pool_get_size(mid->handler_pool, &s1);
}
stat->stats.abt_pool_size_hwm = stat->stats.abt_pool_size_hwm > (double)s ? stat->stats.abt_pool_size_hwm : s1;
stat->stats.abt_pool_size_hwm = stat->stats.abt_pool_size_hwm > (double)s1 ? stat->stats.abt_pool_size_hwm : s1;
stat->stats.abt_pool_size_lwm = stat->stats.abt_pool_size_lwm < (double)s1 ? stat->stats.abt_pool_size_lwm : s1;
stat->stats.abt_pool_size_cumulative += s1;
stat->stats.abt_pool_total_size_hwm = stat->stats.abt_pool_total_size_hwm > (double)s ? stat->stats.abt_pool_total_size_hwm : s;
stat->stats.abt_pool_total_size_lwm = stat->stats.abt_pool_total_size_lwm < (double)s1 ? stat->stats.abt_pool_total_size_lwm : s;
stat->stats.abt_pool_total_size_lwm = stat->stats.abt_pool_total_size_lwm < (double)s ? stat->stats.abt_pool_total_size_lwm : s;
stat->stats.abt_pool_total_size_cumulative += s;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment