μHAL (v2.7.9)
Part of the IPbus software repository
Namespaces | Functions | Variables
test_soak.cpp File Reference
#include "uhal/uhal.hpp"
#include "uhal/tests/PerfTester.hxx"
#include "uhal/tests/definitions.hpp"
#include "uhal/tests/fixtures.hpp"
#include "uhal/tests/tools.hpp"
#include <boost/test/unit_test.hpp>
#include <boost/filesystem.hpp>
#include <vector>
#include <algorithm>
#include <string>
#include <iostream>
#include <cstdlib>
#include <typeinfo>
Include dependency graph for test_soak.cpp:

Go to the source code of this file.

Namespaces

 uhal
 
 uhal::tests
 

Functions

void uhal::tests::report_rx_performance (ClientInterface &aClient, const uint32_t aBaseAddr, const uint32_t aDepth, const size_t aNrIterations, const bool aDispatchEachIteration)
 
void uhal::tests::report_tx_performance (ClientInterface &aClient, const uint32_t aBaseAddr, const uint32_t aDepth, const size_t aNrIterations, const bool aDispatchEachIteration)
 
 uhal::tests::UHAL_TESTS_DEFINE_CLIENT_TEST_CASES (SoakTestSuite, bandwidth_rx, DummyHardwareFixture, { if(quickTest) BOOST_TEST_MESSAGE(" *** Skipping soak tests since '--quick' flag was used ***");else { HwInterface hw=getHwInterface();BOOST_CHECK_NO_THROW(report_rx_performance(hw.getClient(), 0x01, 1, 100, true));BOOST_CHECK_NO_THROW(report_rx_performance(hw.getClient(), 0x01, 262144, 100, true));} }) UHAL_TESTS_DEFINE_CLIENT_TEST_CASES(SoakTestSuite
 
 uhal::tests::BOOST_CHECK_NO_THROW (report_tx_performance(hw.getClient(), 0x01, 1, 100, true))
 
 uhal::tests::BOOST_CHECK_NO_THROW (report_tx_performance(hw.getClient(), 0x01, 262144, 100, true))
 

Variables

 uhal::tests::bandwidth_tx