Belle II Software light-2406-ragdoll
TestChunkData Class Reference

Storable object which can be filled with random chunk data of a certain size. More...

#include <TestChunkData.h>

Inheritance diagram for TestChunkData:
Collaboration diagram for TestChunkData:

Public Member Functions

 TestChunkData (unsigned int size=0)
 Generate chunk data with (size // 8) bytes.
 

Private Member Functions

 ClassDef (TestChunkData, 1)
 Making this class a ROOT class.
 

Private Attributes

std::vector< double > m_chunkData
 Storage for the chunk data.
 

Detailed Description

Storable object which can be filled with random chunk data of a certain size.

Can be used for measuring the streaming behavior of a certain multiprocessing implementation

Definition at line 22 of file TestChunkData.h.

Constructor & Destructor Documentation

◆ TestChunkData()

TestChunkData ( unsigned int  size = 0)
inline

Generate chunk data with (size // 8) bytes.

Definition at line 25 of file TestChunkData.h.

26 {
27 m_chunkData.reserve(size);
28 for (unsigned int i = 0; i < size; i++) {
29 m_chunkData.push_back(gRandom->Rndm());
30 }
31 }
std::vector< double > m_chunkData
Storage for the chunk data.
Definition: TestChunkData.h:35

Member Data Documentation

◆ m_chunkData

std::vector<double> m_chunkData
private

Storage for the chunk data.

Definition at line 35 of file TestChunkData.h.


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