commit | 8ea808c0e9f4b1a54743702b47820f231bd2702a | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Wed Apr 01 13:58:56 2020 -0700 |
committer | Dan Stoza <stoza@google.com> | Tue Apr 28 17:57:48 2020 -0700 |
tree | e62e5d52e3cf93e2ad79732110ed1971647ef016 | |
parent | 28d46a54224fd49ea37904bbaae44ed91da381a5 [diff] |
TracedOrdinal per-frame optimizations Optimizes TracedOrdinal by only doing work inside the trace method when tracing is enabled, and by deferring the generation of the *Negative variant (which involves a StringPrintf) until the first time the variable is traced. Test: atest libsurfaceflinger_unittest Bug: 153112939 Change-Id: I14e316797c032b78fb2ed99c3a7db5b59a470845