Tpetra parallel linear algebra
Version of the Day
Loading...
Searching...
No Matches
core
src
Tpetra_Details_Profiling.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Tpetra: Templated Linear Algebra Services Package
4
//
5
// Copyright 2008 NTESS and the Tpetra contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef TPETRA_DETAILS_PROFILING_HPP
11
#define TPETRA_DETAILS_PROFILING_HPP
12
16
17
#include "TpetraCore_config.h"
18
#include "Teuchos_TimeMonitor.hpp"
19
#include "Teuchos_RCP.hpp"
20
21
namespace
Tpetra
{
22
namespace
Details
{
23
70
class
ProfilingRegion
{
71
public
:
73
ProfilingRegion
();
75
ProfilingRegion
(
const
char
name[]);
78
ProfilingRegion
(
const
char
name[],
const
char
group
[]);
80
~ProfilingRegion
();
81
82
private
:
83
bool
kokkos_region_active_;
84
Teuchos::RCP<Teuchos::TimeMonitor> tm;
85
};
86
87
}
// namespace Details
88
}
// namespace Tpetra
89
90
#endif
// TPETRA_DETAILS_PROFILING_HPP
Tpetra::CrsMatrixStruct
Struct that holds views of the contents of a CrsMatrix.
Definition
TpetraExt_MMHelpers_decl.hpp:36
Tpetra::Details::ProfilingRegion
Profile the given scope.
Definition
Tpetra_Details_Profiling.hpp:70
Tpetra::Details::ProfilingRegion::ProfilingRegion
ProfilingRegion()
Default constructor does not construct a region.
Definition
Tpetra_Details_Profiling.cpp:21
Tpetra::Details::ProfilingRegion::~ProfilingRegion
~ProfilingRegion()
Close region to profile.
Definition
Tpetra_Details_Profiling.cpp:48
Details
Implementation details of Tpetra.
Tpetra
Namespace Tpetra contains the class and methods constituting the Tpetra library.
Generated on Thu Oct 9 2025 21:01:01 for Tpetra parallel linear algebra by
1.9.8