![]() |
KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
#include <profiler.h>
Classes | |
| class | Scope |
| RAII wrapper for updating an Item. More... | |
Public Types | |
| using | ItemMap = std::unordered_map< CodeLocation, Item, SourceLocationHash, SourceLocationEquality > |
Public Member Functions | |
| Profiler () | |
| Profiler (Profiler &&rOther)=default | |
| Profiler (std::filesystem::path &&r_outputPath) | |
| ~Profiler () | |
| Profiler & | operator= (Profiler &&rOther)=default |
| Item & | Create (CodeLocation &&rItem) |
| Scope | Profile (Item &rItem) |
| ItemMap | Aggregate () const |
| Collect results from all threads into a single map. More... | |
| void | Write (std::ostream &rStream) const |
| using Kratos::Internals::Profiler< TTimeUnit >::ItemMap = std::unordered_map< CodeLocation, Item, SourceLocationHash, SourceLocationEquality > |
| Kratos::Internals::Profiler< T >::Profiler |
|
default |
| Kratos::Internals::Profiler< T >::Profiler | ( | std::filesystem::path && | r_outputPath | ) |
| Kratos::Internals::Profiler< T >::~Profiler |
| Profiler< T >::ItemMap Kratos::Internals::Profiler< T >::Aggregate |
Collect results from all threads into a single map.
| Profiler< T >::Item & Kratos::Internals::Profiler< T >::Create | ( | CodeLocation && | rItem | ) |
|
default |
| Profiler< T >::Scope Kratos::Internals::Profiler< T >::Profile | ( | Item & | rItem | ) |
| void Kratos::Internals::Profiler< T >::Write | ( | std::ostream & | rStream | ) | const |