[flutter_driver] add allocator mtl to memory event allowlist. (#151153)

Flutter driver side changes for https://github.com/flutter/engine/pull/53618
This commit is contained in:
Jonah Williams
2024-07-02 08:34:04 -07:00
committed by GitHub
parent a052fb7638
commit 61326afdae
2 changed files with 22 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ class GPUMemorySumarizer {
}
/// Whether or not this event is a GPU allocation event.
static const Set<String> kMemoryEvents = <String>{'AllocatorVK'};
static const Set<String> kMemoryEvents = <String>{'AllocatorVK', 'AllocatorMTL'};
final List<double> _memoryMB = <double>[];