Skip to main content

class instruction_recorder

Declaration

class instruction_recorder { /* full declaration omitted */ };

Description

Records instructions and outbound pilots on instruction-graph generation.

Declared at: include/recorders.h:494

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

Member Functions

command_id get_await_push_command_id(
    const transfer_id& trid) const

Declared at: include/recorders.h:510

Parameters

const transfer_id& trid

const std::vector<instruction_dependency_record>&
get_dependencies() const

Declared at: include/recorders.h:506


const std::vector<
    std::unique_ptr<instruction_record>>&
get_graph_nodes() const

Declared at: include/recorders.h:504


const std::vector<outbound_pilot>&
get_outbound_pilots() const

Declared at: include/recorders.h:508


void record_await_push_command_id(
    const transfer_id& trid,
    command_id cid)

Declared at: include/recorders.h:496

Parameters

const transfer_id& trid
command_id cid

void record_dependency(
    const instruction_dependency_record&
        dependency)

Declared at: include/recorders.h:502

Parameters

const instruction_dependency_record& dependency

void record_instruction(
    std::unique_ptr<instruction_record> record)

Declared at: include/recorders.h:498

Parameters

std::unique_ptr<instruction_record> record

void record_outbound_pilot(
    const outbound_pilot& pilot)

Declared at: include/recorders.h:500

Parameters

const outbound_pilot& pilot