RISA
|
This stage fills the software pipeline with input data stored in ram. More...
#include <OfflineLoader_perfTest.h>
Public Types | |
using | manager_type = glados::cuda::HostMemoryManager< unsigned short, glados::cuda::async_copy_policy > |
Public Member Functions | |
OfflineLoaderPerfTest (const std::string &address, const std::string &configFile) | |
auto | loadImage () -> glados::Image< manager_type > |
loadImage is called, when the software pipeline is able to process a new image More... | |
Protected Member Functions | |
~OfflineLoaderPerfTest () | |
Private Member Functions | |
auto | readInput () -> void |
auto | readConfig (const std::string &configFile) -> bool |
Private Attributes | |
unsigned int | memoryPoolIndex_ |
stores the indeces received when registering in MemoryPool More... | |
std::queue< glados::Image< manager_type > > | buffer_ |
the buffer which stores the test data set More... | |
double | worstCaseTime_ |
double | bestCaseTime_ |
Timer | tmr_ |
std::string | path_ |
the input path of raw data More... | |
std::string | fileName_ |
the input filename More... | |
std::string | fileEnding_ |
the fileending of the input data More... | |
int | numberOfDetectors_ |
the number of detectors in the fan beam sinogram More... | |
int | numberOfProjections_ |
the number of projections in the fan beam sinogram More... | |
int | numberOfDetectorModules_ |
the number of detector modules More... | |
int | numberOfPlanes_ |
the number of planes More... | |
unsigned int | numberOfFrames_ |
the number of frames in the input data for one plane More... | |
std::size_t | stopFrame_ |
std::size_t | index_ |
This stage fills the software pipeline with input data stored in ram.
To perform a longer performance test, input data is sent out continously up to a specified number of frames.
Definition at line 51 of file OfflineLoader_perfTest.h.
using risa::OfflineLoaderPerfTest::manager_type = glados::cuda::HostMemoryManager<unsigned short, glados::cuda::async_copy_policy> |
Definition at line 54 of file OfflineLoader_perfTest.h.
risa::OfflineLoaderPerfTest::OfflineLoaderPerfTest | ( | const std::string & | address, |
const std::string & | configFile | ||
) |
Definition at line 36 of file OfflineLoader_perfTest.cu.
|
protected |
Definition at line 54 of file OfflineLoader_perfTest.cu.
auto risa::OfflineLoaderPerfTest::loadImage | ( | ) | -> glados::Image<manager_type> |
loadImage is called, when the software pipeline is able to process a new image
Definition at line 59 of file OfflineLoader_perfTest.cu.
|
private |
All values needed for setting up the class are read from the config file in this function.
[in] | configFile | path to config file |
Definition at line 142 of file OfflineLoader_perfTest.cu.
|
private |
Definition at line 84 of file OfflineLoader_perfTest.cu.
|
private |
Definition at line 74 of file OfflineLoader_perfTest.h.
|
private |
the buffer which stores the test data set
Definition at line 71 of file OfflineLoader_perfTest.h.
|
private |
the fileending of the input data
Definition at line 80 of file OfflineLoader_perfTest.h.
|
private |
the input filename
Definition at line 79 of file OfflineLoader_perfTest.h.
|
private |
Definition at line 88 of file OfflineLoader_perfTest.h.
|
private |
stores the indeces received when registering in MemoryPool
Definition at line 70 of file OfflineLoader_perfTest.h.
|
private |
the number of detector modules
Definition at line 83 of file OfflineLoader_perfTest.h.
|
private |
the number of detectors in the fan beam sinogram
Definition at line 81 of file OfflineLoader_perfTest.h.
|
private |
the number of frames in the input data for one plane
Definition at line 85 of file OfflineLoader_perfTest.h.
|
private |
the number of planes
Definition at line 84 of file OfflineLoader_perfTest.h.
|
private |
the number of projections in the fan beam sinogram
Definition at line 82 of file OfflineLoader_perfTest.h.
|
private |
the input path of raw data
Definition at line 78 of file OfflineLoader_perfTest.h.
|
private |
Definition at line 87 of file OfflineLoader_perfTest.h.
|
private |
Definition at line 75 of file OfflineLoader_perfTest.h.
|
private |
Definition at line 73 of file OfflineLoader_perfTest.h.