47 #include "Kokkos_Core.hpp"
52 #if defined(KOKKOS_ENABLE_PROFILING)
54 ::Kokkos::Profiling::pushRegion (name);
56 #else // NOT (KOKKOS_ENABLE_PROFILING)
59 #endif // (KOKKOS_ENABLE_PROFILING)
62 #if defined(KOKKOS_ENABLE_PROFILING)
63 ::Kokkos::Profiling::popRegion ();
64 #endif // (KOKKOS_ENABLE_PROFILING)
Declaration of Tpetra::Details::Profiling, a scope guard for Kokkos Profiling.
ProfilingRegion(const char name[])
Open region to profile; name the region name.
~ProfilingRegion()
Close region to profile.