summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Zimuzo Ezeozue <zezeozue@google.com> 2025-02-23 11:41:24 +0000
committer Zimuzo Ezeozue <zezeozue@google.com> 2025-02-23 11:41:24 +0000
commit0d4dced822b6ffc1aea46ea387e1cd312fc992d2 (patch)
treeb7b0c15d9d9766f6c918f99a0193ee45b58178a1 /libs/androidfw/StringPool.cpp
parent139fadb007cacfbdd554509c2a167bfaeae3a7cd (diff)
Remove addFlow/TerminatingFlow
setFlow and setTerminatingFlow had been added in previous cl to replace the addFlow methods. In practice, addFlow is very unlikely to be used to add more than one edge to an event. In these cases, there's a noticeable performance improvement when using setFlow which avoids the call through to Pool of Flows. Also fixed setFlow to accept long instead of int. The underlying structs in the C SDK support uint64_t and this was just an oversight. Test: atest PerfettoTraceTest Bug: 303199244 Flag: android.os.perfetto_sdk_tracing_v2 Change-Id: I3fdcbbd09921e865052bdca359a5ffb0cfe18900
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions