waLBerla 7.2
|
Copyright (C) 2009 Klaus Iglberger Taken from "pe Physics Engine" with small changes
#include "CpuPolicy.h"
#include "DeviceSynchronizePolicy.h"
#include "ReduceType.h"
#include "WcPolicy.h"
#include "core/DataTypes.h"
#include "core/mpi/MPIManager.h"
#include "core/mpi/RecvBuffer.h"
#include "core/mpi/Reduce.h"
#include "core/mpi/SendBuffer.h"
#include "gpu/DeviceWrapper.h"
#include <iomanip>
#include <iostream>
#include <limits>
Classes | |
class | walberla::timing::Timer< TP > |
Progress timer for time and performance measurements. More... | |
Namespaces | |
namespace | walberla |
Storage for detected contacts which can be used to perform actions for all contacts, e.g. | |
namespace | walberla::timing |
Typedefs | |
using | walberla::CpuTimer = timing::Timer<timing::CpuPolicy> |
using | walberla::DeviceSynchronizeTimer = timing::Timer<timing::DeviceSynchronizePolicy> |
using | walberla::WcTimer = timing::Timer<timing::WcPolicy> |
Functions | |
template<typename TP > | |
shared_ptr< Timer< TP > > | walberla::timing::getReduced (Timer< TP > &timer, ReduceType rt, int targetRank) |
Returns a reduced Timer, holding information from all processes. | |
template<typename TP > | |
std::ostream & | walberla::timing::operator<< (std::ostream &os, const Timer< TP > &timer) |
template<typename T , typename G , typename TP > | |
mpi::GenericSendBuffer< T, G > & | walberla::timing::operator<< (mpi::GenericSendBuffer< T, G > &buf, const Timer< TP > &t) |
template<typename T , typename TP > | |
mpi::GenericRecvBuffer< T > & | walberla::timing::operator>> (mpi::GenericRecvBuffer< T > &buf, Timer< TP > &t) |