29 #ifndef T8_FOREST_PROFILING_H
30 #define T8_FOREST_PROFILING_H
32 #include <sc_statistics.h>
52 t8_forest_profile_get_adapt_stats (
t8_forest_t forest);
54 t8_forest_profile_get_ghost_stats (
t8_forest_t forest);
56 t8_forest_profile_get_partition_stats (
t8_forest_t forest);
58 t8_forest_profile_get_commit_stats (
t8_forest_t forest);
60 t8_forest_profile_get_balance_stats (
t8_forest_t forest);
62 t8_forest_profile_get_balance_rounds_stats (
t8_forest_t forest);
This structure is private to the implementation.
Definition: t8_forest_types.h:69
int32_t t8_locidx_t
A type for processor-local indexing.
Definition: t8.h:89
double t8_forest_profile_get_adapt_time(t8_forest_t forest)
Get the runtime of the last call to t8_forest_adapt.
Definition: t8_forest.c:1276
void t8_forest_set_profiling(t8_forest_t forest, int set_profiling)
Enable or disable profiling for a forest.
Definition: t8_forest.c:1158
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_create_ghosts.
Definition: t8_forest.c:1308
double t8_forest_profile_get_ghostexchange_waittime(t8_forest_t forest)
Get the waittime of the last call to t8_forest_ghost_exchange_data.
Definition: t8_forest.c:1320
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.
Definition: t8_forest.c:1297
double t8_forest_profile_get_partition_time(t8_forest_t forest, int *procs_sent)
Get the runtime of the last call to t8_forest_partition.
Definition: t8_forest.c:1286
void t8_forest_print_profile(t8_forest_t forest)
Print the collected statistics from a forest profile.
Definition: t8_forest.c:1207