Profiler class.
Plus de détails...
#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/alina/arccore/alina/Profiler.h>
|
| void | init () |
| |
| void | print (std::ostream &out) const |
| |
|
| std::ostream & | operator<< (std::ostream &out, const Profiler &prof) |
| | Sends formatted profiling data to an output stream.
|
| |
Profiler class.
Provides simple to use, hierarchical profile with nicely formatted output.
Définition à la ligne 49 du fichier Profiler.h.
◆ delta_type
| typedef double Arcane::Alina::Profiler::delta_type |
◆ value_type
| typedef double Arcane::Alina::Profiler::value_type |
◆ Profiler() [1/2]
| Arcane::Alina::Profiler::Profiler |
( |
| ) |
|
|
inline |
◆ Profiler() [2/2]
| Arcane::Alina::Profiler::Profiler |
( |
const std::string & | name | ) |
|
|
inline |
◆ global_scoped_tic()
| static scoped_ticker Arcane::Alina::Profiler::global_scoped_tic |
( |
const std::string & | name | ) |
|
|
inlinestatic |
◆ globalProfiler()
| Profiler & Arcane::Alina::Profiler::globalProfiler |
( |
| ) |
|
|
static |
◆ globalTic()
| void Arcane::Alina::Profiler::globalTic |
( |
const std::string & | name | ) |
|
|
static |
◆ globalToc()
| Profiler::delta_type Arcane::Alina::Profiler::globalToc |
( |
const std::string & | = "" | ) |
|
|
static |
Stops measurement.
Returns delta in the measured value since the corresponding tic().
Définition à la ligne 37 du fichier Profiler.cc.
◆ init()
| void Arcane::Alina::Profiler::init |
( |
| ) |
|
|
private |
◆ print()
| void Arcane::Alina::Profiler::print |
( |
std::ostream & | out | ) |
const |
|
private |
◆ reset()
| void Arcane::Alina::Profiler::reset |
( |
| ) |
|
◆ scoped_tic()
| scoped_ticker Arcane::Alina::Profiler::scoped_tic |
( |
const std::string & | name | ) |
|
|
inline |
◆ tic()
| void Arcane::Alina::Profiler::tic |
( |
const std::string & | name | ) |
|
◆ toc()
| Profiler::delta_type Arcane::Alina::Profiler::toc |
( |
const std::string & | = "" | ) |
|
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const Profiler & | prof ) |
|
friend |
Sends formatted profiling data to an output stream.
- Paramètres
-
Définition à la ligne 200 du fichier Profiler.h.
Références Profiler().
◆ name
| std::string Arcane::Alina::Profiler::name |
|
private |
◆ root
◆ SHIFT_WIDTH
| unsigned int Arcane::Alina::Profiler::SHIFT_WIDTH = 2 |
|
staticconstexprprivate |
◆ stack
La documentation de cette classe a été générée à partir des fichiers suivants :