#include <boost/test/unit_test.hpp>#include <boost/timer/timer.hpp>#include <orea/cube/inmemorycube.hpp>#include <orea/cube/npvcube.hpp>#include <orea/engine/filteredsensitivitystream.hpp>#include <orea/engine/observationmode.hpp>#include <orea/engine/parametricvar.hpp>#include <orea/engine/riskfilter.hpp>#include <orea/engine/sensitivityaggregator.hpp>#include <orea/engine/sensitivityanalysis.hpp>#include <orea/engine/sensitivitycubestream.hpp>#include <orea/engine/sensitivityfilestream.hpp>#include <orea/engine/sensitivityinmemorystream.hpp>#include <orea/engine/sensitivityrecord.hpp>#include <orea/engine/sensitivitystream.hpp>#include <orea/engine/stresstest.hpp>#include <orea/engine/valuationcalculator.hpp>#include <orea/engine/valuationengine.hpp>#include <orea/scenario/crossassetmodelscenariogenerator.hpp>#include <orea/scenario/scenariosimmarket.hpp>#include <orea/scenario/scenariosimmarketparameters.hpp>#include <orea/scenario/simplescenariofactory.hpp>#include <ored/model/crossassetmodelbuilder.hpp>#include <ored/model/lgmdata.hpp>#include <ored/model/irlgmdata.hpp>#include <ored/portfolio/builders/swap.hpp>#include <ored/portfolio/portfolio.hpp>#include <ored/portfolio/swap.hpp>#include <ored/utilities/log.hpp>#include <ored/utilities/osutils.hpp>#include <oret/toplevelfixture.hpp>#include <ql/math/randomnumbers/mt19937uniformrng.hpp>#include <ql/time/calendars/target.hpp>#include <ql/time/date.hpp>#include <ql/time/daycounters/actualactual.hpp>#include <qle/methods/multipathgeneratorbase.hpp>#include <test/oreatoplevelfixture.hpp>#include "testmarket.hpp"Go to the source code of this file.
Functions | |
| unsigned long | randInt (MersenneTwisterUniformRng &rng, Size min, Size max) |
| const string & | randString (MersenneTwisterUniformRng &rng, const vector< string > &strs) |
| bool | randBoolean (MersenneTwisterUniformRng &rng) |
| QuantLib::ext::shared_ptr< data::Conventions > | convs () |
| QuantLib::ext::shared_ptr< Portfolio > | buildPortfolio (Size portfolioSize, QuantLib::ext::shared_ptr< EngineFactory > &factory) |
| void | test_performance (Size portfolioSize, ObservationMode::Mode om, double nonZeroPVRatio, vector< Real > &epe_archived, vector< Real > &ene_archived) |
| BOOST_AUTO_TEST_CASE (testSwapPerformanceNoneObs) | |
| BOOST_AUTO_TEST_CASE (testSingleSwapPerformanceNoneObs) | |
| BOOST_AUTO_TEST_CASE (testSwapPerformanceDisableObs) | |
| BOOST_AUTO_TEST_CASE (testSingleSwapPerformanceDisableObs) | |
| BOOST_AUTO_TEST_CASE (testSwapPerformanceDeferObs) | |
| BOOST_AUTO_TEST_CASE (testSingleSwapPerformanceDeferObs) | |
| BOOST_AUTO_TEST_CASE (testSwapPerformanceUnregisterObs) | |
| BOOST_AUTO_TEST_CASE (testSingleSwapPerformanceUnregisterObs) | |
| unsigned long randInt | ( | MersenneTwisterUniformRng & | rng, |
| Size | min, | ||
| Size | max | ||
| ) |
Definition at line 74 of file swapperformance.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| const string & randString | ( | MersenneTwisterUniformRng & | rng, |
| const vector< string > & | strs | ||
| ) |
Definition at line 78 of file swapperformance.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool randBoolean | ( | MersenneTwisterUniformRng & | rng | ) |
Definition at line 82 of file swapperformance.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| QuantLib::ext::shared_ptr< data::Conventions > convs | ( | ) |
Definition at line 84 of file swapperformance.cpp.
Here is the caller graph for this function:| QuantLib::ext::shared_ptr< Portfolio > buildPortfolio | ( | Size | portfolioSize, |
| QuantLib::ext::shared_ptr< EngineFactory > & | factory | ||
| ) |
Definition at line 100 of file swapperformance.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void test_performance | ( | Size | portfolioSize, |
| ObservationMode::Mode | om, | ||
| double | nonZeroPVRatio, | ||
| vector< Real > & | epe_archived, | ||
| vector< Real > & | ene_archived | ||
| ) |
Definition at line 245 of file swapperformance.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| BOOST_AUTO_TEST_CASE | ( | testSwapPerformanceNoneObs | ) |
Definition at line 528 of file swapperformance.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testSingleSwapPerformanceNoneObs | ) |
Definition at line 533 of file swapperformance.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testSwapPerformanceDisableObs | ) |
Definition at line 538 of file swapperformance.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testSingleSwapPerformanceDisableObs | ) |
Definition at line 543 of file swapperformance.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testSwapPerformanceDeferObs | ) |
Definition at line 548 of file swapperformance.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testSingleSwapPerformanceDeferObs | ) |
Definition at line 553 of file swapperformance.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testSwapPerformanceUnregisterObs | ) |
Definition at line 558 of file swapperformance.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testSingleSwapPerformanceUnregisterObs | ) |
Definition at line 563 of file swapperformance.cpp.
Here is the call graph for this function: