summaryrefslogtreecommitdiff
path: root/tests/string_test.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-02-09 08:18:10 -0800
committerMark Salyzyn <salyzyn@google.com>2015-02-09 17:05:20 -0800
commit7e50fb2a681c858ec7d85ff92e97794f41fd1f08 (patch)
tree1e25a6444beeee8f72e5e6ed3d5bd2866cc7c959 /tests/string_test.cpp
parent6d99da0477f8589df01307067823c3925e40bd91 (diff)
bionic: benchmarks: Add BM_semaphore_sem_post
This test tries its best to report the producer side underlying futex wake syscall overhead wthin sem_post. It does not measure the time it takes for the wakeup to propagate to the consumer. It suffers from clock_gettime syscall overhead, so subtract that. Lock the CPU speed for consistent results as we may not reach >50% cpu utilization. Change-Id: I02fa9dab2e6ac27202f0290115150bd3c8de00f2
Diffstat (limited to 'tests/string_test.cpp')
0 files changed, 0 insertions, 0 deletions