Tpetra parallel linear algebra
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
22
namespace
Tpetra {
23
namespace
Details {
24
71
class
ProfilingRegion
{
72
public
:
74
ProfilingRegion
();
76
ProfilingRegion
(
const
char
name[]);
79
ProfilingRegion
(
const
char
name[],
const
char
group[]);
81
~ProfilingRegion
();
82
83
private
:
84
bool
kokkos_region_active_;
85
Teuchos::RCP<Teuchos::TimeMonitor> tm;
86
87
};
88
89
}
// namespace Details
90
}
// namespace Tpetra
91
92
#endif // TPETRA_DETAILS_PROFILING_HPP
Tpetra::Details::ProfilingRegion::ProfilingRegion
ProfilingRegion()
Default constructor does not construct a region.
Definition:
Tpetra_Details_Profiling.cpp:21
Tpetra::Details::ProfilingRegion
Profile the given scope.
Definition:
Tpetra_Details_Profiling.hpp:71
Tpetra::Details::ProfilingRegion::~ProfilingRegion
~ProfilingRegion()
Close region to profile.
Definition:
Tpetra_Details_Profiling.cpp:52
Generated on Fri Oct 4 2024 09:17:39 for Tpetra parallel linear algebra by
1.8.5