summaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-03-17 11:19:07 -0700
committerYabin Cui <yabinc@google.com>2015-03-17 13:38:57 -0700
commitdc93db20a96e95827f4873fa04bb1e58177736df (patch)
treec79015b6e8d3e669db396e93319a5adf19807fd2 /benchmarks
parenta75771e3ab429fae2f9af770416150733264a281 (diff)
downloadbionic-dc93db20a96e95827f4873fa04bb1e58177736df.zip
bionic-dc93db20a96e95827f4873fa04bb1e58177736df.tar.gz
bionic-dc93db20a96e95827f4873fa04bb1e58177736df.tar.bz2
Change name of rwlock benchmark.
rw_lock is not easy for me to remember, so I prefer changing it to rwlock. Change-Id: I0784acaca0c3b46c28184a77eb29ffe696f9ea07
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/pthread_benchmark.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/benchmarks/pthread_benchmark.cpp b/benchmarks/pthread_benchmark.cpp
index 2f6572d..ad31e7e 100644
--- a/benchmarks/pthread_benchmark.cpp
+++ b/benchmarks/pthread_benchmark.cpp
@@ -121,8 +121,8 @@ void BM_pthread_mutex_lock_RECURSIVE::Run(int iters) {
StopBenchmarkTiming();
}
-BENCHMARK_NO_ARG(BM_pthread_rw_lock_read);
-void BM_pthread_rw_lock_read::Run(int iters) {
+BENCHMARK_NO_ARG(BM_pthread_rwlock_read);
+void BM_pthread_rwlock_read::Run(int iters) {
StopBenchmarkTiming();
pthread_rwlock_t lock;
pthread_rwlock_init(&lock, NULL);
@@ -137,8 +137,8 @@ void BM_pthread_rw_lock_read::Run(int iters) {
pthread_rwlock_destroy(&lock);
}
-BENCHMARK_NO_ARG(BM_pthread_rw_lock_write);
-void BM_pthread_rw_lock_write::Run(int iters) {
+BENCHMARK_NO_ARG(BM_pthread_rwlock_write);
+void BM_pthread_rwlock_write::Run(int iters) {
StopBenchmarkTiming();
pthread_rwlock_t lock;
pthread_rwlock_init(&lock, NULL);