diff options
Diffstat (limited to '')
-rw-r--r-- | Source/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/main.cpp b/Source/main.cpp index fc705bdf0..13a26e615 100644 --- a/Source/main.cpp +++ b/Source/main.cpp @@ -8,6 +8,7 @@ */ #include <WarpX.H> #include <WarpXUtil.H> +#include "WarpXProfilerWrapper.H" #include <AMReX.H> #include <AMReX_ParmParse.H> @@ -34,7 +35,7 @@ int main(int argc, char* argv[]) ConvertLabParamsToBoost(); - BL_PROFILE_VAR("main()", pmain); + WARPX_PROFILE_VAR("main()", pmain); const Real strt_total = amrex::second(); @@ -55,7 +56,7 @@ int main(int argc, char* argv[]) } } - BL_PROFILE_VAR_STOP(pmain); + WARPX_PROFILE_VAR_STOP(pmain); amrex::Finalize(); #if defined AMREX_USE_MPI |