OmniSciDB  29e35f4d58
logger::EraseDurationTrees Struct Reference
+ Inheritance diagram for logger::EraseDurationTrees:
+ Collaboration diagram for logger::EraseDurationTrees:

Public Member Functions

void operator() (DurationTreeMap::const_iterator const &itr) const
 
void operator() (Duration const &) const
 
void operator() (DurationTree const &duration_tree) const
 

Detailed Description

Definition at line 530 of file Logger.cpp.

Member Function Documentation

◆ operator()() [1/3]

void logger::EraseDurationTrees::operator() ( DurationTreeMap::const_iterator const &  itr) const
inline

Definition at line 531 of file Logger.cpp.

References logger::gDurationTreeMap.

531  {
532  for (auto const& duration_tree_node : itr->second->durations()) {
533  apply_visitor(*this, duration_tree_node);
534  }
535  gDurationTreeMap.erase(itr);
536  }
DurationTreeMap gDurationTreeMap
Definition: Logger.cpp:483

◆ operator()() [2/3]

void logger::EraseDurationTrees::operator() ( Duration const &  ) const
inline

Definition at line 537 of file Logger.cpp.

537 {}

◆ operator()() [3/3]

void logger::EraseDurationTrees::operator() ( DurationTree const &  duration_tree) const
inline

Definition at line 538 of file Logger.cpp.

References logger::DurationTree::durations(), logger::gDurationTreeMap, and logger::DurationTree::thread_id_.

538  {
539  for (auto const& duration_tree_node : duration_tree.durations()) {
540  apply_visitor(*this, duration_tree_node);
541  }
542  gDurationTreeMap.erase(duration_tree.thread_id_);
543  }
DurationTreeMap gDurationTreeMap
Definition: Logger.cpp:483
+ Here is the call graph for this function:

The documentation for this struct was generated from the following file: