SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | Private Attributes | List of all members
rt_graph::TimingResult Class Reference

Public Member Functions

 TimingResult (std::list< internal::TimingNode > rootNodes, std::string warnings)
 
auto json () const -> std::string
 
auto get_timings (const std::string &identifier) const -> std::vector< double >
 
auto print (std::vector< Stat > statistic={Stat::Count, Stat::Total, Stat::Percentage, Stat::ParentPercentage, Stat::Median, Stat::Min, Stat::Max}) const -> std::string
 
auto flatten (std::size_t level) -> TimingResult &
 
auto sort_nodes () -> TimingResult &
 

Private Attributes

std::list< internal::TimingNoderootNodes_
 
std::string warnings_
 

Detailed Description

Definition at line 93 of file rt_graph.hpp.

Constructor & Destructor Documentation

◆ TimingResult()

rt_graph::TimingResult::TimingResult ( std::list< internal::TimingNode rootNodes,
std::string  warnings 
)
inline

Definition at line 95 of file rt_graph.hpp.

Member Function Documentation

◆ json()

auto rt_graph::TimingResult::json ( ) const -> std::string

Definition at line 556 of file rt_graph.cpp.

◆ get_timings()

auto rt_graph::TimingResult::get_timings ( const std::string &  identifier) const -> std::vector<double>

Definition at line 563 of file rt_graph.cpp.

◆ print()

auto rt_graph::TimingResult::print ( std::vector< Stat >  statistic = {Stat::Count, Stat::Total, Stat::Percentage, Stat::ParentPercentage, Stat::Median, Stat::Min, Stat::Max}) const -> std::string

Definition at line 569 of file rt_graph.cpp.

◆ flatten()

auto rt_graph::TimingResult::flatten ( std::size_t  level) -> TimingResult&

Definition at line 619 of file rt_graph.cpp.

◆ sort_nodes()

auto rt_graph::TimingResult::sort_nodes ( ) -> TimingResult&

Definition at line 624 of file rt_graph.cpp.

Member Data Documentation

◆ rootNodes_

std::list<internal::TimingNode> rt_graph::TimingResult::rootNodes_
private

Definition at line 117 of file rt_graph.hpp.

◆ warnings_

std::string rt_graph::TimingResult::warnings_
private

Definition at line 118 of file rt_graph.hpp.


The documentation for this class was generated from the following files: