μHAL (v2.7.9)
Part of the IPbus software repository
Namespaces | Functions
tools.cpp File Reference
#include "uhal/tests/tools.hpp"
#include <fcntl.h>
#include <vector>
#include "uhal/ProtocolPCIe.hpp"
#include "uhal/tests/DummyHardware.hpp"
Include dependency graph for tools.cpp:

Go to the source code of this file.

Namespaces

 uhal
 
 uhal::tests
 

Functions

double uhal::tests::measureReadLatency (ClientInterface &aClient, uint32_t aBaseAddr, uint32_t aDepth, size_t aNrIterations, bool aDispatchEachIteration, bool aVerbose)
 
double uhal::tests::measureReadLatency (const std::vector< ClientInterface * > &aClients, uint32_t aBaseAddr, uint32_t aDepth, size_t aNrIterations, bool aDispatchEachIteration, bool aVerbose)
 
double uhal::tests::measureWriteLatency (ClientInterface &aClient, uint32_t aBaseAddr, uint32_t aDepth, size_t aNrIterations, bool aDispatchEachIteration, bool aVerbose)
 
double uhal::tests::measureWriteLatency (const std::vector< ClientInterface * > &aClients, uint32_t aBaseAddr, uint32_t aDepth, size_t aNrIterations, bool aDispatchEachIteration, bool aVerbose)
 
double uhal::tests::measureFileReadLatency (const std::string &aFilePath, uint32_t aBaseAddr, uint32_t aDepth, size_t aNrIterations, bool aVerbose)
 
double uhal::tests::measureFileWriteLatency (const std::string &aFilePath, uint32_t aBaseAddr, uint32_t aDepth, size_t aNrIterations, bool aVerbose)