ark::pipeline::RuntimesProvider

Defined in header “ark/pipeline/runtimes_provider.hh”.


This class will hold any runtimes configured by the user for this pipeline.

Typedefs

  • using ExpectedRuntimesMap = std::map< std::pair< std::string, std::string >, std::chrono::nanoseconds >

Methods

  • void load_expected_runtime_configs(const std::filesystem::path & input_path)
    Update the expected runtime values for all of the subscribers/timers from an input file.

  • std::optional< std::chrono::nanoseconds > get_subscriber_expected_runtime(const std::string & stage_name, const std::string & channel_name)
    Retrieve the expected runtime for the given stage/channel_name subscriber.

  • std::optional< std::chrono::nanoseconds > get_timer_expected_runtime(const std::string & stage_name, const std::string & timer_name)
    Retrieve the expected runtime for the given stage/channel_name subscriber.