OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 523 of file Logger.cpp.

Member Function Documentation

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

Definition at line 524 of file Logger.cpp.

References logger::gDurationTreeMap.

524  {
525  for (auto const& duration_tree_node : itr->second->durations()) {
526  apply_visitor(*this, duration_tree_node);
527  }
528  gDurationTreeMap.erase(itr);
529  }
DurationTreeMap gDurationTreeMap
Definition: Logger.cpp:476
void logger::EraseDurationTrees::operator() ( Duration const &  ) const
inline

Definition at line 530 of file Logger.cpp.

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

Definition at line 531 of file Logger.cpp.

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

531  {
532  for (auto const& duration_tree_node : duration_tree.durations()) {
533  apply_visitor(*this, duration_tree_node);
534  }
535  gDurationTreeMap.erase(duration_tree.thread_id_);
536  }
DurationTreeMap gDurationTreeMap
Definition: Logger.cpp:476

+ Here is the call graph for this function:


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