Skip to content

Commit

Permalink
fixed frame size in time series
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Jun 28, 2024
1 parent f097c6b commit 4cdf588
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/margo-default-monitoring.c
Original file line number Diff line number Diff line change
Expand Up @@ -1477,8 +1477,13 @@ __margo_default_monitor_on_add_pool(void* uargs,
* sizeof(*monitor->pool_total_size_time_series));
memset(&monitor->pool_size_time_series[current_num_pools], 0,
sizeof(monitor->pool_size_time_series[current_num_pools]));
monitor->pool_size_time_series[current_num_pools].frame_capacity
= monitor->pool_size_time_series[current_num_pools - 1].frame_capacity;
memset(&monitor->pool_total_size_time_series[current_num_pools], 0,
sizeof(monitor->pool_total_size_time_series[current_num_pools]));
monitor->pool_total_size_time_series[current_num_pools].frame_capacity
= monitor->pool_total_size_time_series[current_num_pools - 1]
.frame_capacity;
ABT_mutex_unlock(
ABT_MUTEX_MEMORY_GET_HANDLE(&monitor->pool_time_series_mtx));
}
Expand Down

0 comments on commit 4cdf588

Please sign in to comment.