μHAL (v2.7.9)
Part of the IPbus software repository
Classes | Namespaces | Functions
tools.hpp File Reference
#include <iostream>
#include <map>
#include <stdint.h>
#include <string>
#include <sys/time.h>
#include <boost/scoped_ptr.hpp>
#include <boost/thread/thread.hpp>
#include "uhal/ConnectionManager.hpp"
#include "uhal/HwInterface.hpp"
#include "uhal/tests/definitions.hpp"
Include dependency graph for tools.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  uhal::tests::DummyHardwareRunner
 
class  uhal::tests::Timer
 A very simple timer. More...
 

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)