|
|
statistics.h File ReferenceDefinition of the Tstatistics type and the associated functions. More... #include "boolean.h" #include <time.h> #include <sys/times.h> #include <stdio.h> Go to the source code of this file.
Detailed DescriptionModule for keeping track of the workings of the CuikSolve process.
Definition in file statistics.h. Function Documentation
Initializes a set of statistics.
Definition at line 21 of file statistics.c. References GetTime(), Tstatistics::n_box_reductions, Tstatistics::n_empty_boxes, Tstatistics::n_errors, Tstatistics::n_lost_boxes, Tstatistics::n_max_level, Tstatistics::n_processed_boxes, Tstatistics::n_solution_boxes, Tstatistics::n_splitted_boxes, Tstatistics::n_validated_solution_boxes, Tstatistics::np, Tstatistics::s_diagonal, Tstatistics::s_volume, Tstatistics::t_init, and Tstatistics::volume. Referenced by MPI_SolveCuikSystem(), and SolveCuikSystem().
Here is the call graph for this function:
Here is the caller graph for this function:
Initializes a set of statistics fom another set.
Definition at line 45 of file statistics.c. References Tstatistics::n_box_reductions, Tstatistics::n_empty_boxes, Tstatistics::n_errors, Tstatistics::n_lost_boxes, Tstatistics::n_max_level, Tstatistics::n_processed_boxes, Tstatistics::n_solution_boxes, Tstatistics::n_splitted_boxes, Tstatistics::n_validated_solution_boxes, Tstatistics::s_diagonal, Tstatistics::s_volume, Tstatistics::t_init, and Tstatistics::volume. Referenced by CopyCuikSystem().
Here is the caller graph for this function:
Returns the current time. The wayt to get the time is different for single-processor or for multiple-processor environments.
Definition at line 74 of file statistics.c. References Tstatistics::np. Referenced by GetElapsedTime(), InitStatistics(), and LoadCSState().
Here is the caller graph for this function:
Returns the time since the statistics where initialized.
Definition at line 92 of file statistics.c. References GetTime(), and Tstatistics::t_init. Referenced by PostProcessBox(), PrintStatistics(), and SaveCSState().
Here is the call graph for this function:
Here is the caller graph for this function:
Returns the time at which the statistics where initialized.
Definition at line 100 of file statistics.c. References Tstatistics::t_init.
Sets a new initial time. This is used when re-starting a process after a crash.
Definition at line 109 of file statistics.c. References Tstatistics::t_init. Referenced by LoadCSState().
Here is the caller graph for this function:
Sets a new max level. If the given level is below the stored one nothing is done.
Definition at line 117 of file statistics.c. References Tstatistics::n_max_level. Referenced by MPI_SolveCuikSystem(), and SolveCuikSystem().
Here is the caller graph for this function:
Increases the number of processed boxes.
Definition at line 126 of file statistics.c. References Tstatistics::n_processed_boxes. Referenced by MPI_SolveCuikSystem(), and SolveCuikSystem().
Here is the caller graph for this function:
Increases the number of solution boxes.
Definition at line 134 of file statistics.c. References Tstatistics::n_solution_boxes, Tstatistics::n_validated_solution_boxes, Tstatistics::s_diagonal, and Tstatistics::s_volume. Referenced by PostProcessBox().
Here is the caller graph for this function:
Increases the number of empty boxes.
Definition at line 147 of file statistics.c. References Tstatistics::n_empty_boxes. Referenced by PostProcessBox().
Here is the caller graph for this function:
Increases the number of splitted boxes.
Definition at line 156 of file statistics.c. References Tstatistics::n_splitted_boxes. Referenced by PostProcessBox().
Here is the caller graph for this function:
Increases the number of errors when reducing a boxe.
Definition at line 165 of file statistics.c. References Tstatistics::n_errors. Referenced by PostProcessBox().
Here is the caller graph for this function:
Increases the number of lost boxes.
Definition at line 173 of file statistics.c. References Tstatistics::n_lost_boxes. Referenced by MPI_SolveCuikSystem().
Here is the caller graph for this function:
Increases the number of reduced boxes.
Definition at line 181 of file statistics.c. References Tstatistics::n_box_reductions. Referenced by ReduceBox().
Here is the caller graph for this function:
Gets the number of reduced boxes.
Definition at line 186 of file statistics.c. References Tstatistics::n_box_reductions. Referenced by MPI_TreatBox().
Here is the caller graph for this function:
Gets the number of solution boxes.
Definition at line 191 of file statistics.c. References Tstatistics::n_solution_boxes. Referenced by PostProcessBox(), and SolveCuikSystem().
Here is the caller graph for this function:
Resets the number of reduced boxes.
Definition at line 196 of file statistics.c. References Tstatistics::n_box_reductions. Referenced by MPI_TreatBox().
Here is the caller graph for this function:
Increases the number of reduced boxes.
Definition at line 201 of file statistics.c. References Tstatistics::n_box_reductions. Referenced by MPI_SolveCuikSystem().
Here is the caller graph for this function:
Write the statistics sets to a stream that can be stdout. The moment at which the statistics are written is taken as the moment at which the solving process is done.
Definition at line 209 of file statistics.c. References GetElapsedTime(), Tstatistics::n_box_reductions, Tstatistics::n_empty_boxes, Tstatistics::n_errors, Tstatistics::n_lost_boxes, Tstatistics::n_max_level, Tstatistics::n_processed_boxes, Tstatistics::n_solution_boxes, Tstatistics::n_splitted_boxes, Tstatistics::n_validated_solution_boxes, Tstatistics::np, Tstatistics::s_diagonal, Tstatistics::s_volume, and Tstatistics::volume. Referenced by MPI_SolveCuikSystem(), and SolveCuikSystem().
Here is the call graph for this function:
Here is the caller graph for this function:
Saves the statistics to a file in binary format. Used to save the internal state of the solver.
Definition at line 260 of file statistics.c. Referenced by SaveCSState().
Here is the caller graph for this function:
Loads the statistics from a file in binary format. Used to retrive the internal state of the solver from a .state file.
Definition at line 266 of file statistics.c. Referenced by LoadCSState().
Here is the caller graph for this function:
Deletes the statistics structure and frees the allocated memory.
Definition at line 274 of file statistics.c. Referenced by DeleteCuikSystem(), and MPI_SolveCuikSystem().
Here is the caller graph for this function:
|