Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::playback::CompilerStatus Struct Reference

#include <program_compiler.hpp>

Public Member Functions

void clear_active_track_counts ()
 Clear the three track counters together, so the partition can never be left describing a previous request.
void count_track_completed (bool reused)
 Record one finished track on whichever side of the partition it fell.

Public Attributes

std::uint64_t latest_submitted_revision = 0
std::uint64_t latest_published_revision = 0
ProgramGeneration latest_published_generation = 0
std::uint64_t submitted_requests = 0
std::uint64_t coalesced_requests = 0
std::uint64_t rejected_requests = 0
bool busy = false
std::uint64_t active_tracks_completed = 0
bool has_error = false
CompileError last_error
std::uint64_t latest_submitted_epoch = 0
std::uint64_t latest_published_epoch = 0
std::uint64_t active_tracks_recompiled = 0
 Partition of active_tracks_completed for the request currently being compiled, or for the last one if the compiler is idle.
std::uint64_t active_tracks_reused = 0

Member Function Documentation

◆ clear_active_track_counts()

void pulp::playback::CompilerStatus::clear_active_track_counts ( )
inline

Clear the three track counters together, so the partition can never be left describing a previous request.

◆ count_track_completed()

void pulp::playback::CompilerStatus::count_track_completed ( bool reused)
inline

Record one finished track on whichever side of the partition it fell.

Member Data Documentation

◆ active_tracks_completed

std::uint64_t pulp::playback::CompilerStatus::active_tracks_completed = 0

◆ active_tracks_recompiled

std::uint64_t pulp::playback::CompilerStatus::active_tracks_recompiled = 0

Partition of active_tracks_completed for the request currently being compiled, or for the last one if the compiler is idle.

A track is reused when the dirty set spared it and its program was carried over from the live program untouched; it is recompiled when a fresh TrackProgram was built for it. The two always sum to active_tracks_completed.

This is the direct measure of how much work an incremental compile did. Callers that need to know an edit stayed incremental should read these rather than infer it from how long the compile took, which measures the host as much as the compiler.

◆ active_tracks_reused

std::uint64_t pulp::playback::CompilerStatus::active_tracks_reused = 0

◆ busy

bool pulp::playback::CompilerStatus::busy = false

◆ coalesced_requests

std::uint64_t pulp::playback::CompilerStatus::coalesced_requests = 0

◆ has_error

bool pulp::playback::CompilerStatus::has_error = false

◆ last_error

CompileError pulp::playback::CompilerStatus::last_error

◆ latest_published_epoch

std::uint64_t pulp::playback::CompilerStatus::latest_published_epoch = 0

◆ latest_published_generation

ProgramGeneration pulp::playback::CompilerStatus::latest_published_generation = 0

◆ latest_published_revision

std::uint64_t pulp::playback::CompilerStatus::latest_published_revision = 0

◆ latest_submitted_epoch

std::uint64_t pulp::playback::CompilerStatus::latest_submitted_epoch = 0

◆ latest_submitted_revision

std::uint64_t pulp::playback::CompilerStatus::latest_submitted_revision = 0

◆ rejected_requests

std::uint64_t pulp::playback::CompilerStatus::rejected_requests = 0

◆ submitted_requests

std::uint64_t pulp::playback::CompilerStatus::submitted_requests = 0

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