tess 0.4.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::AutoExecTask< World, Policy, Ack, ChunkFn > Class Template Reference

Schedule task that plans, executes, merges, and drains a queued-op frame. More...

#include <tess/sim/auto_exec.h>

Public Types

using ResultHook

Public Member Functions

 AutoExecTask (World &world, FrameOps &ops, ChunkFn fn)
void reserve_operations (std::size_t count)
void use_pool (WorkerPoolPhaseExecutor &pool, std::size_t threshold=2) noexcept
void set_result_hook (void *ctx, ResultHook hook) noexcept
auto last_run () const noexcept -> const AutoExecRunStats &
auto operator() (const ScheduleTaskContext &) -> ScheduleTaskResult

Detailed Description

template<typename World, WritePolicy Policy, typename Ack, typename ChunkFn>
class tess::AutoExecTask< World, Policy, Ack, ChunkFn >

Schedule task that plans, executes, merges, and drains a queued-op frame.

Member Typedef Documentation

◆ ResultHook

template<typename World, WritePolicy Policy, typename Ack, typename ChunkFn>
using tess::AutoExecTask< World, Policy, Ack, ChunkFn >::ResultHook
Initial value:
void (*)(void* ctx, OpHandle handle,
const OpCompletion& completion,
const Ack* ack) noexcept
Completion metadata spanning planning and execution failure domains.
Definition result_channel.h:50
Definition queued.h:74

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