![]() |
ATLAS Offline Software
|
Public Member Functions | |
| AskForROBs (const EventContext &context, const ServiceHandle< IROBDataProviderSvc > &svc, uint32_t lvl1ID, const std::vector< eformat::read::ROBFragment > &robs, size_t frac=8) | |
| size_t | nrobs () const |
| virtual void | firstCall () override |
| a method that will be called to obtain first results from the service It should set the reference quantities | |
| virtual bool | callAndCompare () const override |
| a function that performs request, and compares the results obtained with the result of the first execution When result differ this function is supposed to return false, otherwise true | |
| bool | run (size_t nrepeats) |
| runs the stress test by invoking it the firstCall and then repetitively the callAndCompare | |
Static Public Member Functions | |
| static bool | launchTests (size_t nrepeats, const std::vector< ParallelCallTest * > &tests) |
| Method to run launch number of tests in parallel (increasing the stress of the calle) It has a potential that also the "first" calls can be launched in parallel and thus be the worse case compared to a situation when the first calls are invoked sequentially while further calls in parallel. | |
Private Attributes | |
| uint32_t | m_lvl1ID |
| std::vector< uint32_t > | m_ROBIDs |
| EventContext | m_context |
| const ServiceHandle< IROBDataProviderSvc > & | m_svc |
Definition at line 29 of file ROBDataProviderMTTest.cxx.
|
inline |
Definition at line 31 of file ROBDataProviderMTTest.cxx.
|
inlineoverridevirtual |
a function that performs request, and compares the results obtained with the result of the first execution When result differ this function is supposed to return false, otherwise true
Implements ParallelCallTest.
Definition at line 42 of file ROBDataProviderMTTest.cxx.
|
inlineoverridevirtual |
a method that will be called to obtain first results from the service It should set the reference quantities
Implements ParallelCallTest.
Definition at line 41 of file ROBDataProviderMTTest.cxx.
|
staticinherited |
Method to run launch number of tests in parallel (increasing the stress of the calle) It has a potential that also the "first" calls can be launched in parallel and thus be the worse case compared to a situation when the first calls are invoked sequentially while further calls in parallel.
Definition at line 83 of file ParallelCallTest.cxx.
|
inline |
Definition at line 40 of file ROBDataProviderMTTest.cxx.
|
inherited |
runs the stress test by invoking it the firstCall and then repetitively the callAndCompare
Definition at line 69 of file ParallelCallTest.cxx.
|
private |
Definition at line 55 of file ROBDataProviderMTTest.cxx.
|
private |
Definition at line 53 of file ROBDataProviderMTTest.cxx.
|
private |
Definition at line 54 of file ROBDataProviderMTTest.cxx.
|
private |
Definition at line 56 of file ROBDataProviderMTTest.cxx.