OSDN Git Service

Add benchmarks for pthread_rw_locks
authorCalin Juravle <calin@google.com>
Tue, 16 Sep 2014 17:01:44 +0000 (18:01 +0100)
committerCalin Juravle <calin@google.com>
Tue, 16 Sep 2014 17:02:30 +0000 (18:02 +0100)
commit837a962bf5473eeec1668de1104800ff4a53bdd1
tree534b8dab5e5def8025c976977b130932b5883338
parent2997ae83d55486ab86a6100265fa502eff721ce2
Add benchmarks for pthread_rw_locks

Benchmarks for the following sequences:
1) pthread_rwlock_rdlock -> pthread_rwlock_unlock
2) pthread_rwlock_wrlock -> pthread_rwlock_unlock

Change-Id: I8d87d4d8afab8637ea7ff5d23a0b3a81d6d40835
benchmarks/pthread_benchmark.cpp