Skip to content

RandomTraits::StreamParameters

#include <sbio/formats/random/random_traits.hh>
struct StreamParameters

Defined in src/lib/sbio/formats/random/random_traits.hh:113

Return Name Description
hd_std::size_t num_events
hd_std::size_t event_size
hd_std::uint32_t seed
hd_std::uint8_t pattern_type 0 = PNRG, 1 = Sequential, 2 = Fixed fill
bool enable_subblock_offsets
IndexingMode indexing_mode
hd_std::size_t indexing_batch_size If using IndexBatch, how many steps to index at a time.
int fd

hd_std::size_t num_events { 100000 }

Defined in src/lib/sbio/formats/random/random_traits.hh:114


hd_std::size_t event_size { 0x100000 }

Defined in src/lib/sbio/formats/random/random_traits.hh:115


hd_std::uint32_t seed { 42 }

Defined in src/lib/sbio/formats/random/random_traits.hh:116


hd_std::uint8_t pattern_type { 0 }

Defined in src/lib/sbio/formats/random/random_traits.hh:117

0 = PNRG, 1 = Sequential, 2 = Fixed fill


bool enable_subblock_offsets { true }

Defined in src/lib/sbio/formats/random/random_traits.hh:118


IndexingMode indexing_mode { IndexingMode::IndexAll }

Type: IndexingMode

Defined in src/lib/sbio/formats/random/random_traits.hh:119


hd_std::size_t indexing_batch_size { 100 }

Defined in src/lib/sbio/formats/random/random_traits.hh:120

If using IndexBatch, how many steps to index at a time.


int fd

Defined in src/lib/sbio/formats/random/random_traits.hh:125