Function t8_forest_profile_get_ghost_time

Function Documentation

double t8_forest_profile_get_ghost_time(t8_forest_t forest, t8_locidx_t *ghosts_sent)

Get the runtime of the last call to t8_forest_ghost_create.

Parameters:
  • forest[in] The forest.

  • ghosts_sent[out] On output the number of ghost elements sent to other processes if profiling was activated.

Returns:

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