fix some typos (#1393)
Signed-off-by: cuishuang <imcusg@gmail.com>
diff --git a/src/cycleclock.h b/src/cycleclock.h
index d65d32a..20927ea 100644
--- a/src/cycleclock.h
+++ b/src/cycleclock.h
@@ -132,7 +132,7 @@
// Native Client does not provide any API to access cycle counter.
// Use clock_gettime(CLOCK_MONOTONIC, ...) instead of gettimeofday
- // because is provides nanosecond resolution (which is noticable at
+ // because is provides nanosecond resolution (which is noticeable at
// least for PNaCl modules running on x86 Mac & Linux).
// Initialize to always return 0 if clock_gettime fails.
struct timespec ts = {0, 0};
diff --git a/src/timers.cc b/src/timers.cc
index 21d3db2..68612e2 100644
--- a/src/timers.cc
+++ b/src/timers.cc
@@ -123,7 +123,7 @@
// clock_gettime(CLOCK_PROCESS_CPUTIME_ID, ...) returns 0 on Emscripten.
// Use Emscripten-specific API. Reported CPU time would be exactly the
// same as total time, but this is ok because there aren't long-latency
- // syncronous system calls in Emscripten.
+ // synchronous system calls in Emscripten.
return emscripten_get_now() * 1e-3;
#elif defined(CLOCK_PROCESS_CPUTIME_ID) && !defined(BENCHMARK_OS_MACOSX)
// FIXME We want to use clock_gettime, but its not available in MacOS 10.11.