Timer.h File Reference

Detailed Description

Author
Klaus Iglberger

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/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

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 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. More...
 
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)