BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
cl_Profiler.hpp
Go to the documentation of this file.
1
/*
2
* BELFEM -- The Berkeley Lab Finite Element Framework
3
* Copyright (c) 2026, The Regents of the University of California,
4
* through Lawrence Berkeley National Laboratory (subject to receipt of any required
5
* approvals from the U.S. Dept. of Energy). All rights reserved.
6
*
7
* Developers: Christian Messe, Gregory Giard
8
*
9
* See the top-level LICENSE file for the complete license and disclaimer.
10
*/
11
12
#ifndef BELFEM_CL_PROFILER_HPP
13
#define BELFEM_CL_PROFILER_HPP
14
15
16
17
#include "
typedefs.hpp
"
18
19
namespace
belfem
20
{
27
class
Profiler
28
{
29
string
mLogFile ;
30
string
mCallgrindFile ;
31
//------------------------------------------------------------------------------
32
public
:
33
//------------------------------------------------------------------------------
34
35
Profiler
(
const
string
aLogFile=
"profiler.log"
);
36
37
//------------------------------------------------------------------------------
38
39
~Profiler
() = default ;
40
41
//------------------------------------------------------------------------------
42
43
void
44
start
();
45
46
//------------------------------------------------------------------------------
47
48
void
49
stop
();
50
51
//------------------------------------------------------------------------------
52
};
53
}
54
#endif
//BELFEM_CL_PROFILER_HPP
belfem::Profiler::start
void start()
Definition
cl_Profiler.cpp:53
belfem::Profiler::Profiler
Profiler(const string aLogFile="profiler.log")
Definition
cl_Profiler.cpp:25
belfem::Profiler::~Profiler
~Profiler()=default
belfem::Profiler::stop
void stop()
Definition
cl_Profiler.cpp:66
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
typedefs.hpp
src
core
cl_Profiler.hpp
Generated by
1.18.0