Commit 7abd8f6c authored by Cheng Wang's avatar Cheng Wang
Browse files

[libc][Obvious] Fix typos

parent 650bbc56
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ systems; and so other metrics can be equally important:
## Rationale

The goal here is to satisfy the [Benchmarking
Principles](https://en.wikipedia.org/wiki/Benchmark_\(computing\)#Benchmarking_Principles).
Principles](https://en.wikipedia.org/wiki/Benchmark_(computing)#Benchmarking_Principles).

1.  **Relevance**: Benchmarks should measure relatively vital features.
2.  **Representativeness**: Benchmark performance metrics should be broadly
@@ -26,7 +26,7 @@ Principles](https://en.wikipedia.org/wiki/Benchmark_\(computing\)#Benchmarking_P
7.  **Transparency**: Benchmark metrics should be easy to understand.

Benchmarking is a [subtle
art](https://en.wikipedia.org/wiki/Benchmark_\(computing\)#Challenges) and
art](https://en.wikipedia.org/wiki/Benchmark_(computing)#Challenges) and
benchmarking memory functions is no exception. Here we'll dive into
peculiarities of designing good microbenchmarks for `llvm-libc` memory
functions.
@@ -189,7 +189,7 @@ active cores."_
is always set to `performance`. We also want to make sure that the time based
events are not impacted by frequency scaling.**

See [REAME.md](REAME.md) on how to set this up.
See [README.md](README.md) on how to set this up.

### Reserved and pinned cores

+1 −1
Original line number Diff line number Diff line
@@ -443,7 +443,7 @@ template <size_t Size> struct Builtin {

private:
  // Copies `kSize` bytes from `src` to `dst` using a for loop.
  // This code requires the use of `-fno-buitin-memcpy` to prevent the compiler
  // This code requires the use of `-fno-builtin-memcpy` to prevent the compiler
  // from turning the for-loop back into `__builtin_memcpy`.
  static void ForLoopCopy(char *__restrict dst, const char *__restrict src) {
    for (size_t i = 0; i < kSize; ++i)