diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2016-01-23 23:48:55 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2016-01-23 23:48:55 +0000 |
commit | 5ff1d45a7fc6ca9090275ed9f65ea258e187af30 (patch) | |
tree | 868eaeef0d2c5bdb327221f3c91b6a398604df68 /toolchain/musl/include | |
parent | 8fab4d68715798c91a001a2a2549d6a17f0afaef (diff) | |
download | master-187ad058-5ff1d45a7fc6ca9090275ed9f65ea258e187af30.tar.gz master-187ad058-5ff1d45a7fc6ca9090275ed9f65ea258e187af30.tar.bz2 master-187ad058-5ff1d45a7fc6ca9090275ed9f65ea258e187af30.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48466 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/musl/include')
0 files changed, 0 insertions, 0 deletions