aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/pthread_benchmark.cpp
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-03-17 21:20:52 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-03-17 21:20:52 +0000
commitd917b20b613fd51e5f1056c8648fe8769ae8161e (patch)
treec79015b6e8d3e669db396e93319a5adf19807fd2 /benchmarks/pthread_benchmark.cpp
parenta75771e3ab429fae2f9af770416150733264a281 (diff)
parentdc93db20a96e95827f4873fa04bb1e58177736df (diff)
downloadandroid_bionic-d917b20b613fd51e5f1056c8648fe8769ae8161e.tar.gz
android_bionic-d917b20b613fd51e5f1056c8648fe8769ae8161e.tar.bz2
android_bionic-d917b20b613fd51e5f1056c8648fe8769ae8161e.zip
Merge "Change name of rwlock benchmark."
Diffstat (limited to 'benchmarks/pthread_benchmark.cpp')
-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 2f6572dd8..ad31e7e8c 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);