Skip to main content

StallGuard Class

Declaration

class simaai::neat::graph::GraphRun::StallGuard { ... }

Included Headers

#include <GraphRun.h>

Friends Index

classGraphRun

Private Constructors Index

StallGuard (std::vector< NodeId > nodes, std::vector< std::string > streams, int per_stream_target, int stall_ms)

Public Member Functions Index

boolupdate (const GraphRunStats &stats)
booldone () const
boolstalled () const
int64_ttarget_progress () const

Private Member Attributes Index

std::vector< NodeId >nodes_
std::vector< std::string >streams_
intper_stream_target_ = 0
intstall_ms_ = 0
boolinitialized_ = false
booldone_ = false
boolstalled_ = false
int64_ttarget_progress_ = 0
std::chrono::steady_clock::time_pointlast_progress {}

Definition at line 115 of file GraphRun.h.

Friends

GraphRun

friend class GraphRun

Definition at line 129 of file GraphRun.h.

129 friend class GraphRun;

Private Constructors

StallGuard()

simaai::neat::graph::GraphRun::StallGuard::StallGuard (std::vector< NodeId > nodes, std::vector< std::string > streams, int per_stream_target, int stall_ms)

Definition at line 130 of file GraphRun.h.

Public Member Functions

done()

bool simaai::neat::graph::GraphRun::StallGuard::done ()
inline

Definition at line 118 of file GraphRun.h.

118 bool done() const {
119 return done_;
120 }

stalled()

bool simaai::neat::graph::GraphRun::StallGuard::stalled ()
inline

Definition at line 121 of file GraphRun.h.

121 bool stalled() const {
122 return stalled_;
123 }

target_progress()

int64_t simaai::neat::graph::GraphRun::StallGuard::target_progress ()
inline

Definition at line 124 of file GraphRun.h.

124 int64_t target_progress() const {
125 return target_progress_;
126 }

update()

bool simaai::neat::graph::GraphRun::StallGuard::update (const GraphRunStats & stats)

Definition at line 117 of file GraphRun.h.

Private Member Attributes

done_

bool simaai::neat::graph::GraphRun::StallGuard::done_ = false

Definition at line 138 of file GraphRun.h.

138 bool done_ = false;

initialized_

bool simaai::neat::graph::GraphRun::StallGuard::initialized_ = false

Definition at line 137 of file GraphRun.h.

137 bool initialized_ = false;

last_progress

std::chrono::steady_clock::time_point simaai::neat::graph::GraphRun::StallGuard::last_progress {}

Definition at line 141 of file GraphRun.h.

141 std::chrono::steady_clock::time_point last_progress{};

nodes_

std::vector<NodeId> simaai::neat::graph::GraphRun::StallGuard::nodes_

Definition at line 133 of file GraphRun.h.

133 std::vector<NodeId> nodes_;

per_stream_target_

int simaai::neat::graph::GraphRun::StallGuard::per_stream_target_ = 0

Definition at line 135 of file GraphRun.h.

135 int per_stream_target_ = 0;

stall_ms_

int simaai::neat::graph::GraphRun::StallGuard::stall_ms_ = 0

Definition at line 136 of file GraphRun.h.

136 int stall_ms_ = 0;

stalled_

bool simaai::neat::graph::GraphRun::StallGuard::stalled_ = false

Definition at line 139 of file GraphRun.h.

139 bool stalled_ = false;

streams_

std::vector<std::string> simaai::neat::graph::GraphRun::StallGuard::streams_

Definition at line 134 of file GraphRun.h.

134 std::vector<std::string> streams_;

target_progress_

int64_t simaai::neat::graph::GraphRun::StallGuard::target_progress_ = 0

Definition at line 140 of file GraphRun.h.

140 int64_t target_progress_ = 0;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.