Function t8_forest_profile_get_balance_time

Function Documentation

double t8_forest_profile_get_balance_time(t8_forest_t forest, int *balance_rounds)

Get the runtime of the last call to t8_forest_balance.

Parameters:
  • forest[in] The forest.

  • balance_rounds[out] On output the number of rounds in balance if profiling was activated.

Returns:

The runtime of balance if profiling was activated. 0 otherwise. forest must be committed before calling this function.