ark::pipeline::DynamicTimerTestStage
Defined in header “ark/pipeline/test/dynamic_timer_stage.hh”.
This is a stage that adds in a event-based timer, both keeping track of how often it executes, and also when.
This dynamically adjusts when it executes, running in a short sequence.
Methods
-
DynamicTimerTestStage(std::string name, std::vector< std::chrono::nanoseconds > sequence)
Constructor. Initialize with the desired sequence. -
void initialize(StageInterface & interface)
Called from the executor when we are initialized. -
std::vector< std::chrono::steady_clock::time_point > timestamps()
Returns the timestamps we have accumulated.