summaryrefslogtreecommitdiff
path: root/common/netd/libnetdutils/ThreadUtilTest.cpp
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2022-05-25 12:29:37 -0700
committerMaciej Żenczykowski <maze@google.com>2022-06-21 01:02:57 +0000
commit76286d5800efd3108c1062a8a2155f7bdb87c497 (patch)
treea3f13eb2fb6f649c51bd1aa127debde0afa18794 /common/netd/libnetdutils/ThreadUtilTest.cpp
parent1cd56433b641c91563c60378273ea9b3aefb3a20 (diff)
cache kernelVersion(), make isAtLeastKernelVersion() cheaper
not perfect due to this being in a header file, so multiple copies potentially exist, but it's really simple, and works nearly as well. Bug: 218408035 Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Id90c6933d57bc12f4dd640c8918fd0885c7474cf (cherry picked from commit 9d481287aa69200a36c997200e71232b77234b0a) Merged-In: Id90c6933d57bc12f4dd640c8918fd0885c7474cf
Diffstat (limited to 'common/netd/libnetdutils/ThreadUtilTest.cpp')
0 files changed, 0 insertions, 0 deletions