[all-commits] [llvm/llvm-project] c4cb9b: tsan: add more micro benchmarks

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Wed Jul 28 11:12:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4cb9b64dd350f0d675e12d38ea54f4e0c3ceb37
      https://github.com/llvm/llvm-project/commit/c4cb9b64dd350f0d675e12d38ea54f4e0c3ceb37
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-07-28 (Wed, 28 Jul 2021)

  Changed paths:
    M compiler-rt/test/tsan/bench.h
    A compiler-rt/test/tsan/bench_memory_access.cpp

  Log Message:
  -----------
  tsan: add more micro benchmarks

1. Add a set of micro benchmarks for memory accesses,
   mem* functions and unaligned accesses.
2. Add support for multiple benchmarks in a single binary
   (or it would require 12 new benchmark binaries).
3. Remove the "clock growth" machinery,
   it affects the current tsan runtime by increasing size of
   all vector clocks, but this won't be relevant for the new
   tsan runtime.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106961




More information about the All-commits mailing list