diff options
| author | 2024-01-16 17:04:23 +0000 | |
|---|---|---|
| committer | 2024-01-25 06:08:53 +0000 | |
| commit | 38e4bb34329db10b195c36f090d9d43265ed88d9 (patch) | |
| tree | 0e64a40fd12d3ff218549856ff5e0daabcfd9349 /compiler/optimizing/code_generator.h | |
| parent | b30b80b5ec2446702cb794b2cf47c4069b08c5c1 (diff) | |
Use a slightly larger buffer to store encoded trace entries
The per-thread trace buffer contains kPerThreadBufSize / 2 entries and
on average it takes about 12 bytes to encode each entry. So adjust the
buffer size to hold all the encoded entries, so we can avoid multiple
flushes to the file.
Bug: 259258187
Test: art/test.py --stream --trace
Change-Id: I3cf127a0d734ae0d59fba7622f9626c85b6947df
Diffstat (limited to 'compiler/optimizing/code_generator.h')
0 files changed, 0 insertions, 0 deletions