GEOS
Macros
TimingMacros.hpp File Reference
#include "common/GeosxConfig.hpp"
#include "GeosxMacros.hpp"

Go to the source code of this file.

Macros

#define GEOS_MARK_SCOPE(name)   GEOS_CALIPER_MARK_SCOPE(name); GEOS_NVTX_MARK_SCOPE(name)
 Mark scope with both Caliper and NVTX if enabled.
 
#define GEOS_MARK_FUNCTION   GEOS_CALIPER_MARK_FUNCTION; GEOS_NVTX_MARK_FUNCTION
 Mark function with both Caliper and NVTX if enabled.
 
#define GEOS_MARK_FUNCTION_BEGIN(name)   GEOS_CALIPER_MARK_FUNCTION_BEGIN(name)
 Mark the beginning of function, only useful when you don't want to or can't mark the whole function.
 
#define GEOS_MARK_FUNCTION_END(name)   GEOS_CALIPER_MARK_FUNCTION_END(name)
 Mark the end of function, only useful when you don't want to or can't mark the whole function.
 
#define GEOS_MARK_BEGIN(name)   GEOS_CALIPER_MARK_BEGIN(name)
 Mark the beginning of timed statement group.
 
#define GEOS_MARK_END(name)   GEOS_CALIPER_MARK_END(name)
 Mark the end of timed statements group.
 
#define GEOS_GET_TIME(time)
 Get current time of day as a floating point number of seconds in a variable time.
 

Detailed Description

A collection of timing-related macros that wrap Caliper.

Definition in file TimingMacros.hpp.