JANA2
C++ framework for multi-threaded data processing
Loading...
Searching...
No Matches
JBenchUtils Class Reference

Public Member Functions

void set_seed (size_t event_number, std::string caller_name)
 
size_t rand_size (size_t avg, double spread)
 
int randint (int min, int max)
 
double randdouble (double min=0.0, double max=1000.0)
 
float randfloat (float min=0.0, float max=1000.0)
 
uint64_t consume_cpu_ms (uint64_t millisecs, double spread=0.0)
 
uint64_t read_memory (const std::vector< char > &buffer)
 
uint64_t write_memory (std::vector< char > &buffer, uint64_t bytes, double spread=0.0)
 

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