|
waLBerla 7.2
|
Namespaces | |
| namespace | internal |
Classes | |
| struct | CpuPolicy |
| Timing policy for the measurement of the CPU time. More... | |
| struct | DeviceSynchronizePolicy |
| Timing policy for the measurement of the GPU time. More... | |
| class | RemainingTimeLogger |
| class | ScopeTimer |
| struct | StaticPolicy |
| Timing policy for fake measurement with a static settable clock. More... | |
| class | Timer |
| Progress timer for time and performance measurements. More... | |
| struct | TimingNode |
| class | TimingPool |
| class | TimingTree |
| struct | WcPolicy |
| Timing policy for the measurement of the wall clock time. More... | |
Enumerations | |
| enum | ReduceType { REDUCE_MIN , REDUCE_AVG , REDUCE_MAX , REDUCE_TOTAL } |
| The reduce type describes which values are reduced from each process. More... | |
Functions | |
| double | getCpuTime () |
| Returns the current CPU time in seconds. | |
| double | getWcTime () |
| Returns the current wall clock time in seconds. | |
| std::string | timeToString (real_t time) |
| Converts a timespan to a string. | |
| template<typename TP > | |
| shared_ptr< Timer< TP > > | getReduced (Timer< TP > &timer, ReduceType rt, int targetRank) |
| Returns a reduced Timer, holding information from all processes. | |
| template<typename TP > | |
| std::ostream & | operator<< (std::ostream &os, const Timer< TP > &timer) |
| template<typename T , typename G , typename TP > | |
| mpi::GenericSendBuffer< T, G > & | operator<< (mpi::GenericSendBuffer< T, G > &buf, const Timer< TP > &t) |
| template<typename T , typename TP > | |
| mpi::GenericRecvBuffer< T > & | operator>> (mpi::GenericRecvBuffer< T > &buf, Timer< TP > &t) |
| template<typename TP > | |
| std::ostream & | operator<< (std::ostream &os, const TimingPool< TP > &tp) |
| template<typename T , typename G , typename TP > | |
| mpi::GenericSendBuffer< T, G > & | operator<< (mpi::GenericSendBuffer< T, G > &buf, const timing::TimingPool< TP > &tp) |
| template<typename T , typename TP > | |
| mpi::GenericRecvBuffer< T > & | operator>> (mpi::GenericRecvBuffer< T > &buf, timing::TimingPool< TP > &tp) |
The reduce type describes which values are reduced from each process.
| double walberla::timing::getCpuTime | ( | ) |
Returns the current CPU time in seconds.
| shared_ptr< Timer< TP > > walberla::timing::getReduced | ( | Timer< TP > & | timer, |
| ReduceType | rt, | ||
| int | targetRank ) |
Returns a reduced Timer, holding information from all processes.
| timer | Timer which should be reduced |
| rt | Specified the method how the reduction is done. See documentation for ReduceType |
| targetRank | the world rank of the target process. Or negative value for an all-reduction operation |
|
inline |
Returns the current wall clock time in seconds.
| mpi::GenericSendBuffer< T, G > & walberla::timing::operator<< | ( | mpi::GenericSendBuffer< T, G > & | buf, |
| const Timer< TP > & | t ) |
| mpi::GenericSendBuffer< T, G > & walberla::timing::operator<< | ( | mpi::GenericSendBuffer< T, G > & | buf, |
| const timing::TimingPool< TP > & | tp ) |
| std::ostream & walberla::timing::operator<< | ( | std::ostream & | os, |
| const Timer< TP > & | timer ) |
| std::ostream & walberla::timing::operator<< | ( | std::ostream & | os, |
| const TimingPool< TP > & | tp ) |
| mpi::GenericRecvBuffer< T > & walberla::timing::operator>> | ( | mpi::GenericRecvBuffer< T > & | buf, |
| Timer< TP > & | t ) |
| mpi::GenericRecvBuffer< T > & walberla::timing::operator>> | ( | mpi::GenericRecvBuffer< T > & | buf, |
| timing::TimingPool< TP > & | tp ) |
|
inline |
Converts a timespan to a string.
| time | The timespan in seconds. |