Skip to content

Commit 518b22b

Browse files
authored
Merge dfc159d into 47df49e
2 parents 47df49e + dfc159d commit 518b22b

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.ycm_extra_conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
flags = [
88
'-Wall',
99
'-Werror',
10-
'-pendantic-errors',
10+
'-pedantic-errors',
1111
'-std=c++0x',
1212
'-fno-strict-aliasing',
1313
'-O3',

src/benchmark.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ DEFINE_string(benchmark_out_format, "json",
8484
"The format to use for file output. Valid values are "
8585
"'console', 'json', or 'csv'.");
8686

87-
DEFINE_string(benchmark_out, "", "The file to write additonal output to");
87+
DEFINE_string(benchmark_out, "", "The file to write additional output to");
8888

8989
DEFINE_string(benchmark_color, "auto",
9090
"Whether to use colors in the output. Valid values: "
@@ -503,7 +503,7 @@ void RunBenchmarks(const std::vector<Benchmark::Instance>& benchmarks,
503503
BenchmarkReporter::Context context;
504504
context.name_field_width = name_field_width;
505505

506-
// Keep track of runing times of all instances of current benchmark
506+
// Keep track of running times of all instances of current benchmark
507507
std::vector<BenchmarkReporter::Run> complexity_reports;
508508

509509
// We flush streams after invoking reporter methods that write to them. This

src/complexity.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ std::string GetBigOString(BigO complexity) {
6565

6666
// Find the coefficient for the high-order term in the running time, by
6767
// minimizing the sum of squares of relative error, for the fitting curve
68-
// given by the lambda expresion.
68+
// given by the lambda expression.
6969
// - n : Vector containing the size of the benchmark tests.
7070
// - time : Vector containing the times for the benchmark tests.
71-
// - fitting_curve : lambda expresion (e.g. [](int n) {return n; };).
71+
// - fitting_curve : lambda expression (e.g. [](int n) {return n; };).
7272

7373
// For a deeper explanation on the algorithm logic, look the README file at
7474
// http://github.com/ismaelJimenez/Minimal-Cpp-Least-Squared-Fit

src/sysinfo.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ double GetCPUCyclesPerSecond() {
455455
std::string value;
456456
if (SplitIdx != std::string::npos) value = ln.substr(SplitIdx + 1);
457457
// When parsing the "cpu MHz" and "bogomips" (fallback) entries, we only
458-
// accept postive values. Some environments (virtual machines) report zero,
458+
// accept positive values. Some environments (virtual machines) report zero,
459459
// which would cause infinite looping in WallTime_Init.
460460
if (startsWithKey(ln, "cpu MHz")) {
461461
if (!value.empty()) {

0 commit comments

Comments
 (0)