Skip to main content

class command_queue

Declaration

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

Declared at: src/scheduler.cc:101

Member Variables

std::deque<command_event> m_queue
int m_num_flushes_in_queue = 0
int m_num_horizons_since_last_mergeable_cmd = 0

Member Function Overview

  • empty() const → bool
  • pop() → command_event
  • push(command_event && evt) → void
  • should_dequeue(experimental::lookahead lookahead) const → bool
  • is_flush(const command_event & evt) → static bool

Member Functions

bool empty() const

Declared at: src/scheduler.cc:133


command_event pop()

Declared at: src/scheduler.cc:125


void push(command_event&& evt)

Declared at: src/scheduler.cc:116

Parameters

command_event&& evt

bool should_dequeue(
    experimental::lookahead lookahead) const

Declared at: src/scheduler.cc:103

Parameters

experimental::lookahead lookahead

static bool is_flush(const command_event& evt)

Declared at: src/scheduler.cc:140

Parameters

const command_event& evt