diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2016-01-23 23:48:55 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2016-01-23 23:48:55 +0000 |
commit | b5d6256ca885be87cf8e2a69fefc7ac3248c7f72 (patch) | |
tree | 7fa0cab535a595273cb5b47ff2efd9b8a1d9c468 /target | |
parent | 9d0703f0161b5231f07f20e9ac6dadfe3c4925d3 (diff) | |
download | master-31e0f0ae-b5d6256ca885be87cf8e2a69fefc7ac3248c7f72.tar.gz master-31e0f0ae-b5d6256ca885be87cf8e2a69fefc7ac3248c7f72.tar.bz2 master-31e0f0ae-b5d6256ca885be87cf8e2a69fefc7ac3248c7f72.zip |
musl: mips: add vdso support
vdso support is available on mips starting with kernel 4.4, see kernel
commit a7f4df4e21 "MIPS: VDSO: Add implementations of gettimeofday()
and clock_gettime()" for details.
These are my micro benchmark results for 1.000.000 calls to
clock_gettime(CLOCK_MONOTONIC, &tp)
without vdso:
root@OpenWrt:/# time ./vdso-test
real 0m 0.95s
user 0m 0.24s
sys 0m 0.70s
with vdso:
root@OpenWrt:/# time /usr/bin/vdso-test
real 0m 0.35s
user 0m 0.34s
sys 0m 0.00s
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48466
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions