48 #include "Kokkos_Core.hpp" 55 ::Kokkos::Profiling::pushRegion(name);
57 tm = Teuchos::rcp(
new Teuchos::TimeMonitor(*Teuchos::TimeMonitor::getNewTimer(name)));
66 ::Kokkos::Profiling::pushRegion(name);
68 tm = Teuchos::rcp(
new Teuchos::TimeMonitor(*Teuchos::TimeMonitor::getNewTimer(name)));
74 ::Kokkos::Profiling::popRegion();
Namespace Tpetra contains the class and methods constituting the Tpetra library.
static bool timing()
Whether Tpetra is in timing mode.
Declaration of Tpetra::Details::Profiling, a scope guard for Kokkos Profiling.
Implementation details of Tpetra.
static bool profilingRegionUseTeuchosTimers()
Use Teuchos::Timer in Tpetra::ProfilingRegion.
ProfilingRegion(const char name[])
Open region to profile; name the region name.
static bool profilingRegionUseKokkosProfiling()
Use Kokkos::Profiling in Tpetra::ProfilingRegion.
~ProfilingRegion()
Close region to profile.
Declaration of Tpetra::Details::Behavior, a class that describes Tpetra's behavior.