class instruction_recorder
Declaration
class instruction_recorder { /* full declaration omitted */ };
Description
Records instructions and outbound pilots on instruction-graph generation.
Member Variables
- std::vector<std::unique_ptr<instruction_record>> m_recorded_instructions
- std::vector<instruction_dependency_record> m_recorded_dependencies
- std::vector<outbound_pilot> m_recorded_pilots
- std::unordered_map<transfer_id, command_id> m_await_push_cids
Member Function Overview
- get_await_push_command_id(const transfer_id & trid) const → command_id
- get_dependencies() const → const std::vector<instruction_dependency_record> &
- get_instruction(instruction_id iid) const → const instruction_record &
- get_instructions() const → const std::vector<std::unique_ptr<instruction_record>> &
- get_outbound_pilots() const → const std::vector<outbound_pilot> &
- record_await_push_command_id(const transfer_id & trid, command_id cid) → void
- record_dependency(const instruction_dependency_record & dependency) → void
- record_instruction(std::unique_ptr<instruction_record> record) → void
- record_outbound_pilot(const outbound_pilot & pilot) → void
Member Functions
¶command_id get_await_push_command_id(
const transfer_id& trid) const
command_id get_await_push_command_id(
const transfer_id& trid) const
Parameters
- const transfer_id& trid
¶const std::vector<instruction_dependency_record>&
get_dependencies() const
const std::vector<instruction_dependency_record>&
get_dependencies() const
¶const instruction_record& get_instruction(
instruction_id iid) const
const instruction_record& get_instruction(
instruction_id iid) const
Parameters
- instruction_id iid
¶const std::vector<
std::unique_ptr<instruction_record>>&
get_instructions() const
const std::vector<
std::unique_ptr<instruction_record>>&
get_instructions() const
¶const std::vector<outbound_pilot>&
get_outbound_pilots() const
const std::vector<outbound_pilot>&
get_outbound_pilots() const
¶void record_await_push_command_id(
const transfer_id& trid,
command_id cid)
void record_await_push_command_id(
const transfer_id& trid,
command_id cid)
Parameters
- const transfer_id& trid
- command_id cid
¶void record_dependency(
const instruction_dependency_record&
dependency)
void record_dependency(
const instruction_dependency_record&
dependency)
Parameters
- const instruction_dependency_record& dependency
¶void record_instruction(
std::unique_ptr<instruction_record> record)
void record_instruction(
std::unique_ptr<instruction_record> record)
Parameters
- std::unique_ptr<instruction_record> record
¶void record_outbound_pilot(
const outbound_pilot& pilot)
void record_outbound_pilot(
const outbound_pilot& pilot)
Parameters
- const outbound_pilot& pilot