Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Attributes | List of all members
uni20::async::EpochContext::DebugSnapshot Struct Reference

#include <epoch_context.hpp>

Collaboration diagram for uni20::async::EpochContext::DebugSnapshot:
[legend]

Public Attributes

int generation {0}
 
EpochContext const * next_epoch {nullptr}
 
int num_readers {0}
 
int num_writers {0}
 
Phase phase {Phase::Pending}
 
std::vector< std::coroutine_handle<> > reader_tasks {}
 
int total_writers {0}
 
bool writer_active {false}
 
std::vector< std::coroutine_handle<> > writer_tasks {}
 

Member Data Documentation

◆ generation

int uni20::async::EpochContext::DebugSnapshot::generation {0}

◆ next_epoch

EpochContext const* uni20::async::EpochContext::DebugSnapshot::next_epoch {nullptr}

◆ num_readers

int uni20::async::EpochContext::DebugSnapshot::num_readers {0}

◆ num_writers

int uni20::async::EpochContext::DebugSnapshot::num_writers {0}

◆ phase

Phase uni20::async::EpochContext::DebugSnapshot::phase {Phase::Pending}

◆ reader_tasks

std::vector<std::coroutine_handle<> > uni20::async::EpochContext::DebugSnapshot::reader_tasks {}

◆ total_writers

int uni20::async::EpochContext::DebugSnapshot::total_writers {0}

◆ writer_active

bool uni20::async::EpochContext::DebugSnapshot::writer_active {false}

◆ writer_tasks

std::vector<std::coroutine_handle<> > uni20::async::EpochContext::DebugSnapshot::writer_tasks {}

The documentation for this struct was generated from the following file: