CppBenchmark: CppBenchmark Namespace Reference (original) (raw)
C++ Benchmark project definitions. More...
| Classes | |
|---|---|
| class | Barrier |
| Barrier synchronization primitive. More... | |
| class | Benchmark |
| Benchmark class. More... | |
| class | BenchmarkBase |
| Benchmark base class. More... | |
| class | BenchmarkPC |
| Producers/Consumers benchmark base class. More... | |
| class | BenchmarkThreads |
| Threads benchmark base class. More... | |
| class | Console |
| Console management static class. More... | |
| class | Context |
| Benchmark running context. More... | |
| class | ContextPC |
| Benchmark producer/consumer running context. More... | |
| class | ContextThreads |
| Benchmark thread running context. More... | |
| class | Environment |
| Environment management static class. More... | |
| class | Executor |
| Dynamic benchmarks executor class. More... | |
| class | Fixture |
| Benchmark fixture. More... | |
| class | FixturePC |
| Producers/Consumers benchmark fixture. More... | |
| class | FixtureThreads |
| Threads benchmark fixture. More... | |
| class | Launcher |
| Launcher base class. More... | |
| class | LauncherConsole |
| Console launcher. More... | |
| class | LauncherHandler |
| Launcher handler. More... | |
| class | Phase |
| Benchmark phase base class. More... | |
| class | PhaseCore |
| Benchmark phase core. More... | |
| class | PhaseMetrics |
| Benchmark phase metrics. More... | |
| class | PhaseScope |
| Benchmark phase scope. More... | |
| class | Reporter |
| Reporter base class. More... | |
| class | ReporterConsole |
| Console reporter. More... | |
| class | ReporterCSV |
| Comma-separated values (CSV) reporter. More... | |
| class | ReporterJSON |
| JSON reporter. More... | |
| class | Settings |
| Benchmark settings. More... | |
| class | SettingsPC |
| Producers/Consumers benchmark settings. More... | |
| class | SettingsThreads |
| Threads benchmark settings. More... | |
| class | System |
| System management static class. More... | |
| Enumerations | |
|---|---|
| enum class | Color { BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, BROWN, GREY, DARKGREY, LIGHTBLUE, LIGHTGREEN, LIGHTCYAN, LIGHTRED, LIGHTMAGENTA, YELLOW, WHITE } |
| Supported console colors. More... | |
| Functions | |
|---|---|
| template | |
| TOutputStream & | operator<< (TOutputStream &stream, Color color) |
| Stream manipulator: change console text color. | |
| template | |
| TOutputStream & | operator<< (TOutputStream &stream, std::pair< Color, Color > colors) |
| Stream manipulator: change console text and background colors. | |
| Variables | |
|---|---|
| const char | version [] = "1.0.5.0" |
| Project version. | |
C++ Benchmark project definitions.
◆ Color
Supported console colors.
| Enumerator | |
|---|---|
| BLACK | Black color. |
| BLUE | Blue color. |
| GREEN | Green color. |
| CYAN | Cyan color. |
| RED | Red color. |
| MAGENTA | Magenta color. |
| BROWN | Brown color. |
| GREY | Grey color. |
| DARKGREY | Dark grey color. |
| LIGHTBLUE | Light blue color. |
| LIGHTGREEN | Light green color. |
| LIGHTCYAN | Light cyan color. |
| LIGHTRED | Light red color. |
| LIGHTMAGENTA | Light magenta color. |
| YELLOW | Yellow color. |
| WHITE | White color. |
Definition at line 17 of file console.h.
◆ operator<<() [1/2]
template
| TOutputStream & CppBenchmark::operator<< ( TOutputStream & stream, Color color ) | inline |
|---|
Stream manipulator: change console text color.
Parameters
| stream | - Output stream |
|---|---|
| color | - Console text color |
Returns
Output stream
Definition at line 12 of file console.inl.
◆ operator<<() [2/2]
template
| TOutputStream & CppBenchmark::operator<< ( TOutputStream & _stream_, std::pair< Color, Color > colors ) | inline |
|---|
Stream manipulator: change console text and background colors.
Parameters
| stream | - Output stream |
|---|---|
| colors | - Console text and background colors |
Returns
Output stream
Definition at line 19 of file console.inl.
◆ version
const char CppBenchmark::version[] = "1.0.5.0"
Project version.