Function t8_forest_set_profiling

Function Documentation

void t8_forest_set_profiling(t8_forest_t forest, int set_profiling)

Enable or disable profiling for a forest.

If profiling is enabled, runtimes and statistics are collected during forest_commit.

Profiling is disabled by default. The forest must not be committed before calling this function.

Parameters:
  • forest[inout] The forest to be updated.

  • set_profiling[in] If true, profiling will be enabled, if false disabled.