https://mooseframework.inl.gov
Loading...
Searching...
No Matches
include
utils
PerfGuard.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
3
//*
4
//* All rights reserved, see COPYRIGHT for full restrictions
5
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6
//*
7
//* Licensed under LGPL 2.1, please see LICENSE for details
8
//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10
#pragma once
11
12
#include "
MooseTypes.h
"
13
14
class
PerfGraph
;
15
25
class
PerfGuard
26
{
27
public
:
34
PerfGuard
(
PerfGraph
& graph,
const
PerfID
id
);
35
39
~PerfGuard
();
40
41
protected
:
43
PerfGraph
&
_graph
;
44
};
MooseTypes.h
PerfID
unsigned int PerfID
Definition
MooseTypes.h:240
PerfGraph
The PerfGraph will hold the master list of all registered performance segments and the head PerfNode.
Definition
PerfGraph.h:44
PerfGuard
Scope guard for starting and stopping timing for a node.
Definition
PerfGuard.h:26
PerfGuard::_graph
PerfGraph & _graph
The graph we're working on.
Definition
PerfGuard.h:43
PerfGuard::~PerfGuard
~PerfGuard()
Stop timing.
Definition
PerfGuard.C:24
Generated on Fri Aug 21 2026 13:33:52 for https://mooseframework.inl.gov by
1.9.8