![]() |
COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
Any test using this fixture (or a derivative) will be profiled. More...
#include <ProfiledTestFixture.hpp>
Inherited by ComponentBenchFixture, ProfiledFixture, and ProtoBenchmarkFixture.
Public Member Functions | |
| ProfiledTestFixture () | |
| ~ProfiledTestFixture () | |
| void | test_unit_start (boost::unit_test::test_unit const &) |
| Start profiling when a test starts. More... | |
| void | test_unit_finish (boost::unit_test::test_unit const &) |
| terminate library when a test ends and process the file More... | |
Protected Attributes | |
| std::string | m_prefix |
| Start of the profile output name. More... | |
| boost::filesystem::path | m_profile_dir |
| Directory to store the profile data in. More... | |
| bool | m_process_profile |
| If set to true, the profiling tool will be run. More... | |
Private Attributes | |
| std::string | m_current_filename |
| Storage for the file being profiled to. More... | |
| std::string | m_command |
| The full command that was ran. More... | |
Any test using this fixture (or a derivative) will be profiled.
Definition at line 30 of file ProfiledTestFixture.hpp.
Definition at line 40 of file ProfiledTestFixture.cpp.
| ~ProfiledTestFixture | ( | ) |
Definition at line 72 of file ProfiledTestFixture.cpp.
| void test_unit_finish | ( | boost::unit_test::test_unit const & | unit | ) |
terminate library when a test ends and process the file
Definition at line 98 of file ProfiledTestFixture.cpp.
| void test_unit_start | ( | boost::unit_test::test_unit const & | unit | ) |
Start profiling when a test starts.
Definition at line 79 of file ProfiledTestFixture.cpp.
|
private |
The full command that was ran.
Definition at line 53 of file ProfiledTestFixture.hpp.
|
private |
Storage for the file being profiled to.
Definition at line 51 of file ProfiledTestFixture.hpp.
|
protected |
Start of the profile output name.
Definition at line 44 of file ProfiledTestFixture.hpp.
|
protected |
If set to true, the profiling tool will be run.
Definition at line 48 of file ProfiledTestFixture.hpp.
|
protected |
Directory to store the profile data in.
Definition at line 46 of file ProfiledTestFixture.hpp.
1.8.9.1
|
Send comments to: COOLFluiD Web Admin |