summaryrefslogtreecommitdiff
path: root/opengl/libagl/texture.cpp
diff options
context:
space:
mode:
author Connor O'Brien <connoro@google.com> 2019-06-07 16:39:49 -0700
committer Steven Moreland <smoreland@google.com> 2020-01-13 15:58:04 -0800
commit1a1804066329b7427187932bc9ff49a35cd98f17 (patch)
treeaf2a5650cfb0525470bec46635785cfaa31c7f0f /opengl/libagl/texture.cpp
parent57b75dc6107012b32df59d065bd0a985ea03c2ec (diff)
libtimeinstate: change map format to improve performance
By storing times for up to 32 freqs in each map value instead of one time per value, we can drastically reduce the number of syscalls required to get the data for a single UID and for all UIDs. This translates into a better than 3x speedup in getUidsCpuFreqTimes(). Test: libtimeinstate_test passes Bug: 138317993 Change-Id: I0d2d4d5fc99a82179a84a9aa83101bc55ddbc0e4 Signed-off-by: Connor O'Brien <connoro@google.com> (cherry picked from commit 16ab1709fc9bef67fc1655128f54a6bce182de50) Merged-In: I0d2d4d5fc99a82179a84a9aa83101bc55ddbc0e4
Diffstat (limited to 'opengl/libagl/texture.cpp')
0 files changed, 0 insertions, 0 deletions