diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2017-10-27 08:58:18 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2019-12-23 23:43:39 +0200 |
| commit | 304b3fba17f1f16c6e37622c466a5042f9d5afec (patch) | |
| tree | 8e814038c4066b3395bc9f79f52e1618e9598399 /scripts/stackusage | |
| parent | b8420bc0b71bcf67bffff920c74a6805d29f96c0 (diff) | |
FROMLIST: lib: vdso: add support for time
(cherry pick from url https://patchwork.kernel.org/patch/10053549/)
Add time() vdso support to match up with existing support in the x86's
vdso. Currently benefitting arm and arm64 which uses the common
vgettimeofday.c implementation. On arm provides about a ~14 fold
improvement in speed over the straight syscall, and about a ~5 fold
improvement in speed over an alternate library implementation that
relies on the vdso call to gettimeofday to fulfill the request.
We can provide __vdso_time even if we can not provide a speed
enhanced __vdso_gettimeofday.
Signed-off-by: Mark Salyzyn <salyzyn@android.com>
Bug: 63737556
Bug: 20045882
Change-Id: I0bb3c6bafe57f9ed69350e2dd54edaae58316e8f
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
