48 switch (
p.stream_gen) {
49 case StreamGenType::fixed:
51 case StreamGenType::random:
53 case StreamGenType::none:
uint32_t randomPick(const std::vector< uint32_t > &svec)
Function to pick one of the preset Stream or Substream ID.
static StreamGen * create(const BaseTrafficGenParams &p)
Factory method for constructing a Stream generator.
std::enable_if_t< std::is_integral_v< T >, T > random()
Use the SFINAE idiom to choose an implementation based on whether the type is integral or floating po...
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
Declaration of the Stream generator for issuing memory requests with variable/fixed stream and substr...