Skip to content

Commit

Permalink
Output to file and some formatting fixes #12
Browse files Browse the repository at this point in the history
  • Loading branch information
chronoxor committed Sep 23, 2022
1 parent db69fdc commit 206e5d2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1423,5 +1423,5 @@ When you create and build a benchmark you can run it with the following command
* **-f FILTER, --filter=FILTER** - Filter benchmarks by the given regexp pattern
* **-l, --list** - List all avaliable benchmarks
* **-o OUTPUT, --output=OUTPUT** - Output format (console, csv, json). Default: console
* **-s, --silent** - Launch in silent mode. No progress will be shown!
* **-q, --quiet** - Launch in quiet mode. No progress will be shown!
* **-r HISTOGRAMS, --histograms=HISTOGRAMS** - Create High Dynamic Range (HDR) Histogram files with a given resolution. Default: 0
2 changes: 1 addition & 1 deletion documents/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = CppBenchmark
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 1.0.2.0
PROJECT_NUMBER = 1.0.3.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion include/benchmark/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ GitHub: https://github.com/chronoxor/CppBenchmark
namespace CppBenchmark {

//! Project version
const char version[] = "1.0.2.0";
const char version[] = "1.0.3.0";

} // namespace CppBenchmark

Expand Down
2 changes: 1 addition & 1 deletion source/benchmark/reporter_json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void ReporterJSON::ReportEnvironment()
_stream << Internals::indent2 << "\"is_32_bit_process\": " << (Environment::Is32BitProcess() ? "true" : "false") << ",\n";
_stream << Internals::indent2 << "\"is_debug\": " << (Environment::IsDebug() ? "true" : "false") << ",\n";
_stream << Internals::indent2 << "\"is_release\": " << (Environment::IsRelease() ? "true" : "false") << ",\n";
_stream << Internals::indent2 << "\"os_version\": " << Environment::OSVersion() << "\n";
_stream << Internals::indent2 << "\"os_version\": \"" << Environment::OSVersion() << "\",\n";
_stream << Internals::indent2 << "\"timestamp\": " << Environment::Timestamp() << "\n";
_stream << Internals::indent1 << "},\n";
}
Expand Down

0 comments on commit 206e5d2

Please sign in to comment.