iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nrt::EventLogSummary Struct Reference

#include <nrt/Core/Debugging/EventLog.H>

Parsed summary from an EventLog.

nrt::EventLogSummary transforms the unsorted list of mixed point and extended events of an nrt::EventLog into two maps, under the assumption that the events will periodically repeat. For instance, one may issue several events from several parallel threads for each video frame in a complex video processing system. Assuming that the messages of the events are the same for every frame, an nrt::EventLogSummary will concatenate all the event times that have the same message, thus allowing one to plot all the occurrences of that event together over the video frames.

Several nrt::EventLogSummary can be merged which is useful to merge summaries that have been recorded by different Blackboards in a distributed Blackboard federation.

Definition at line 133 of file EventLog.H.

Public Member Functions

void mergeWith (EventLogSummary const &other)
 Merge another summary into us.
template<class Archive >
void serialize (Archive &ar)
 Serialize the summary.

Public Attributes

< std::chrono::time_point
< std::chrono::high_resolution_clock >
, std::vector< std::string > > 
std::map< std::string,
std::vector< std::pair
< std::chrono::time_point
< std::chrono::high_resolution_clock >
, std::chrono::time_point
< std::chrono::high_resolution_clock > > > > 

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