Preliminary. ThinkMeta ConcurrentTasks and this documentation are preliminary; everything is subject to change.

API reference / Async I/O

OrderedFileWriterStats struct

Counters of a finished OrderedFileWriter.

Use
import ThinkMeta.ConcurrentTasks.AsyncIo.OrderedFileWriter;
Namespace
ThinkMeta::ConcurrentTasks::AsyncIo

Syntax

See also

OrderedFileWriter::Stats

Fields

bytes

Bytes appended (the final file size).

Syntax

std::uint64_t bytes = 0;

deferredCopies

Number of OrderedFileWriter::WriteDeferred calls that were recorded.

Syntax

std::uint64_t deferredCopies = 0;

deferredBytes

Bytes those WriteDeferred calls appended.

Syntax

std::uint64_t deferredBytes = 0;

producerWaited

Seconds the producer waited for a copy batch to finish.

Syntax

double producerWaited = 0;

Remarks

It waits when a ring is full and in OrderedFileWriter::Close.

writerWaited

Seconds the writer task waited for writes to complete.

Syntax

double writerWaited = 0;

writerIssuing

Seconds the writer task spent inside the write calls.

Syntax

double writerIssuing = 0;

Generated from ThinkMeta.ConcurrentTasks.API @ 137ec1d (2026-10-17).