dasmig-core 1.2.0
Shared random engine, distributions and data tiers for the dasmig generator libraries
Loading...
Searching...
No Matches
dasmig::core::batch_options Struct Reference

How a batch is generated. Requests keep describing one item. More...

#include <batch.hpp>

Public Attributes

std::uint64_t count {1}
 Number of items.
 
std::uint64_t first {0}
 Index of the first item; item i is item_seed(seed, first + i).
 
std::size_t threads {1}
 Worker threads; 0 means the hardware count, 1 runs on the caller.
 
std::optional< unique_rule > unique {}
 

Detailed Description

How a batch is generated. Requests keep describing one item.

Definition at line 122 of file batch.hpp.

Member Data Documentation

◆ count

std::uint64_t dasmig::core::batch_options::count {1}

Number of items.

Definition at line 124 of file batch.hpp.

◆ first

std::uint64_t dasmig::core::batch_options::first {0}

Index of the first item; item i is item_seed(seed, first + i).

Definition at line 125 of file batch.hpp.

◆ threads

std::size_t dasmig::core::batch_options::threads {1}

Worker threads; 0 means the hardware count, 1 runs on the caller.

Definition at line 126 of file batch.hpp.

◆ unique

std::optional<unique_rule> dasmig::core::batch_options::unique {}

Definition at line 127 of file batch.hpp.


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