Skip to main content

GraphRunStats Struct

Declaration

struct simaai::neat::graph::GraphRunStats { ... }

Included Headers

#include <GraphRun.h>

Public Member Functions Index

voidrecord (NodeId node_id, const Sample &sample)
std::vector< Snapshot >snapshot () const
boolempty () const
std::unordered_map< std::string, int64_t >stream_counts (const std::vector< NodeId > &nodes={}) const
boolhas_missing_streams (const std::unordered_set< std::string > &expected, const std::vector< NodeId > &nodes={}) const
std::stringmissing_streams_list (const std::unordered_set< std::string > &expected, const std::vector< NodeId > &nodes={}) const

Private Member Attributes Index

std::mutexmu_
std::unordered_map< NodeId, NodeStat >nodes_

Definition at line 34 of file GraphRun.h.

Public Member Functions

empty()

bool simaai::neat::graph::GraphRunStats::empty ()

Definition at line 61 of file GraphRun.h.

has_missing_streams()

bool simaai::neat::graph::GraphRunStats::has_missing_streams (const std::unordered_set< std::string > & expected, const std::vector< NodeId > & nodes={})

Definition at line 64 of file GraphRun.h.

missing_streams_list()

std::string simaai::neat::graph::GraphRunStats::missing_streams_list (const std::unordered_set< std::string > & expected, const std::vector< NodeId > & nodes={})

Definition at line 66 of file GraphRun.h.

record()

void simaai::neat::graph::GraphRunStats::record (NodeId node_id, const Sample & sample)

Definition at line 59 of file GraphRun.h.

snapshot()

std::vector<Snapshot> simaai::neat::graph::GraphRunStats::snapshot ()

Definition at line 60 of file GraphRun.h.

stream_counts()

std::unordered_map<std::string, int64_t> simaai::neat::graph::GraphRunStats::stream_counts (const std::vector< NodeId > & nodes={})

Definition at line 63 of file GraphRun.h.

Private Member Attributes

mu_

std::mutex simaai::neat::graph::GraphRunStats::mu_
mutable

Definition at line 70 of file GraphRun.h.

70 mutable std::mutex mu_;

nodes_

std::unordered_map<NodeId, NodeStat> simaai::neat::graph::GraphRunStats::nodes_

Definition at line 71 of file GraphRun.h.

71 std::unordered_map<NodeId, NodeStat> nodes_;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.