![]() |
(git:e70887f)
|
#include "../mpiwrap/cp_mpi.h"Go to the source code of this file.
Macros | |
| #define | FFT_MAX_STRING_LENGTH 30 |
Typedefs | |
| typedef void(* | fft_print_func_t) (const char *, int, int) |
Functions | |
| void | fft_init_timer () |
| Initializes the internal timer. | |
| void | fft_print_timing_report (const double threshold, const cp_mpi_comm_t comm) |
| Prints the timing report. | |
| void | fft_print_timing_report_unit (const double threshold, fft_print_func_t print_func, const int output_unit, const cp_mpi_comm_t comm) |
| Prints the timing report. | |
| void | fft_finalize_timer () |
| Finalizes the internal timer. | |
| int | fft_start_timer (const char *routine_name) |
| Start a timing section. | |
| void | fft_stop_timer (const int handle) |
| Stop a timing. | |
| #define FFT_MAX_STRING_LENGTH 30 |
Definition at line 12 of file fft_timer.h.
| typedef void(* fft_print_func_t) (const char *, int, int) |
Definition at line 20 of file fft_timer.h.
| void fft_init_timer | ( | ) |
Initializes the internal timer.
Definition at line 199 of file fft_timer.c.
| void fft_print_timing_report | ( | const double | threshold, |
| const cp_mpi_comm_t | comm ) |
Prints the timing report.
Prints the timing report.
| threshold | Minimum relative timing value to report. |
| comm | MPI communicator used to aggregate timing data. |
Definition at line 357 of file fft_timer.c.
| void fft_print_timing_report_unit | ( | const double | threshold, |
| fft_print_func_t | print_func, | ||
| const int | output_unit, | ||
| const cp_mpi_comm_t | comm ) |
Prints the timing report.
| threshold | Minimum relative timing value to report. |
| print_func | Callback used to print the timing report. |
| output_unit | Destination output unit. |
| comm | MPI communicator. |
Definition at line 253 of file fft_timer.c.
| void fft_finalize_timer | ( | ) |
Finalizes the internal timer.
Definition at line 367 of file fft_timer.c.
| int fft_start_timer | ( | const char * | routine_name | ) |
Start a timing section.
| routine_name | Name of the timed routine. |
Definition at line 386 of file fft_timer.c.
| void fft_stop_timer | ( | const int | handle | ) |
Stop a timing.
| handle | Timer handle. |
Definition at line 402 of file fft_timer.c.