3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Namespaces | Functions
valgrind.hh File Reference

Some templates to wrap the valgrind macros. More...

#include <valgrind/memcheck.h>

Go to the source code of this file.

Description

Some templates to wrap the valgrind macros.

Namespaces

namespace  Valgrind
 

Functions

bool Valgrind::Running ()
 Returns whether the program is running under Valgrind or not. More...
 
template<class T >
bool Valgrind::CheckDefined (const T &value)
 Make valgrind complain if the object occupied by an object is undefined. More...
 
template<class T >
bool Valgrind::CheckDefined (const T *value, int size)
 
template<class T >
void Valgrind::SetUndefined (const T &value)
 Make the memory on which an object resides undefined. More...
 
template<class T >
void Valgrind::SetUndefined (const T *value, int size)
 
template<class T >
void Valgrind::SetDefined (const T &value)
 Make the memory on which an object resides defined. More...
 
template<class T >
void Valgrind::SetDefined (const T *value, int n)
 
template<class T >
void Valgrind::SetNoAccess (const T &value)
 Make valgrind complain if an object's memory is accessed. More...
 
template<class T >
void Valgrind::SetNoAccess (const T *value, int n)
 
Include dependency graph for valgrind.hh: