aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDimitris Papastamos <[email protected]>2011-05-19 13:45:30 +0100
committerMark Brown <[email protected]>2011-05-20 11:22:06 +0100
commit7e146b55866d1176f80439fdc2be2915147468b3 (patch)
tree78409086ae8f445e6e8ce9e0997df3523a4f647a /tools/perf/scripts/python
parent0944cc392e9a41dd36b65b2f8cb31dff437a9fdb (diff)
ASoC: soc-cache: Cache a pointer to the last accessed rbnode
Whenever we are doing a read or a write through the rbtree code, we'll cache a pointer to the rbnode. To avoid looking up the register everytime we do a read or a write, we first check if it can be found in the cached register block, otherwise we traverse the rbtree and finally cache the rbnode for future use. Signed-off-by: Dimitris Papastamos <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions