WarpX
Loading...
Searching...
No Matches
WarpXProfilerWrapper.H
Go to the documentation of this file.
1/* Copyright 2020-2021 Axel Huebl, Maxence Thevenet
2 *
3 * This file is part of WarpX.
4 *
5 * License: BSD-3-Clause-LBNL
6 */
7
8#ifndef WARPX_PROFILERWRAPPER_H_
9#define WARPX_PROFILERWRAPPER_H_
10
11#include <AMReX_BLProfiler.H>
12
13#define WARPX_PROFILE(fname) BL_PROFILE(fname)
14#define WARPX_PROFILE_VAR(fname, vname) BL_PROFILE_VAR(fname, vname)
15#define WARPX_PROFILE_VAR_NS(fname, vname) BL_PROFILE_VAR_NS(fname, vname)
16#define WARPX_PROFILE_VAR_START(vname) BL_PROFILE_VAR_START(vname)
17#define WARPX_PROFILE_VAR_STOP(vname) BL_PROFILE_VAR_STOP(vname)
18#define WARPX_PROFILE_REGION(rname) BL_PROFILE_REGION(rname)
19
20#endif // WARPX_PROFILERWRAPPER_H_