The Result struct encapsulates all of the result gathered from one individual benchmark run consisting of multiple independent trials.
More...
#include <unity/scopes/testing/Benchmark.h>
|
void | load_from (std::istream &in) |
| load_from restores a result from the given input stream. More...
|
|
void | save_to (std::ostream &out) |
| save_to stores a result to the given output stream. More...
|
|
void | load_from_xml (std::istream &in) |
| load_from_xml restores a result stored as xml from the given input stream. More...
|
|
void | save_to_xml (std::ostream &out) |
| save_to_xml stores a result as xml to the given output stream. More...
|
|
The Result struct encapsulates all of the result gathered from one individual benchmark run consisting of multiple independent trials.
void unity::scopes::testing::Benchmark::Result::load_from |
( |
std::istream & |
in | ) |
|
load_from restores a result from the given input stream.
- Exceptions
-
std::runtime_error | in case of issues. |
- Parameters
-
in | The stream to read from. |
void unity::scopes::testing::Benchmark::Result::load_from_xml |
( |
std::istream & |
in | ) |
|
load_from_xml restores a result stored as xml from the given input stream.
- Exceptions
-
std::runtime_error | in case of issues. |
- Parameters
-
in | The stream to read from. |
void unity::scopes::testing::Benchmark::Result::save_to |
( |
std::ostream & |
out | ) |
|
save_to stores a result to the given output stream.
- Exceptions
-
std::runtime_error | in case of issues. |
- Parameters
-
out | The stream to write to. |
void unity::scopes::testing::Benchmark::Result::save_to_xml |
( |
std::ostream & |
out | ) |
|
save_to_xml stores a result as xml to the given output stream.
- Exceptions
-
std::runtime_error | in case of issues. |
- Parameters
-
out | The stream to write to. |
std::size_t unity::scopes::testing::Benchmark::Result::sample_size |
Size of the sample, corresponds to number of trials.
The documentation for this struct was generated from the following files:
- include/unity/scopes/testing/Benchmark.h
- src/scopes/testing/Benchmark.cpp