|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <LUPI.hpp>
Public Member Functions | |
| DeltaTime () | |
| DeltaTime (double a_CPU_time, double a_wallTime, double a_CPU_timeIncremental, double a_wallTimeIncremental) | |
| DeltaTime (DeltaTime const &deltaTime) | |
| ~DeltaTime () | |
| double | CPU_time () const |
| double | wallTime () const |
| double | CPU_timeIncremental () const |
| double | wallTimeIncremental () const |
| std::string | toString (std::string a_formatIncremental=LUPI_DeltaTime_toStringFormatIncremental, std::string a_format=LUPI_DeltaTime_toStringFormatTotal, std::string a_sep="; ") |
| LUPI::DeltaTime::DeltaTime | ( | ) |
Default constructor for DeltaTime which sets all values to 0.0.
Definition at line 27 of file LUPI_times.cc.
Referenced by DeltaTime().
| LUPI::DeltaTime::DeltaTime | ( | double | a_CPU_time, |
| double | a_wallTime, | ||
| double | a_CPU_timeIncremental, | ||
| double | a_wallTimeIncremental ) |
Constructor for DeltaTime which contains the CPU time a_CPU_time and wall time a_wallTime.
Definition at line 39 of file LUPI_times.cc.
| LUPI::DeltaTime::DeltaTime | ( | DeltaTime const & | deltaTime | ) |
Copy constructor for DeltaTime.
Definition at line 51 of file LUPI_times.cc.
|
inline |
|
inline |
Definition at line 362 of file LUPI.hpp.
Referenced by DeltaTime().
| std::string LUPI::DeltaTime::toString | ( | std::string | a_formatIncremental = LUPI_DeltaTime_toStringFormatIncremental, |
| std::string | a_formatTotal = LUPI_DeltaTime_toStringFormatTotal, | ||
| std::string | a_sep = "; " ) |
Returns a string representation of this. The arugments a_formatIncremental and a_format specify, in sprintf style, the formats for the incremental and total times. If an arugment is an empty string (e.g., "") then its time is not included in the return string. Each non-empty argument must contain two flags (e.g., "%.3f") for converting two doubles. If both formats are non-empty strings, then a_sep is inserted between them. An example of a format string is "total: CPU %8.3f, wall %8.3f".
| a_formatIncremental | [in] Specifies the format in sprintf style for the incremental CPU and wall times. |
| a_formatTotal | [in] Specifies the format in sprintf style for the total CPU and wall times. |
| a_sep | [in] Specifies the string that separates the total and incremental time strings. |
Definition at line 72 of file LUPI_times.cc.
|
inline |
|
inline |
Definition at line 363 of file LUPI.hpp.
Referenced by DeltaTime().