Add perfetto support for scratch memory (#303)

* Add perfetto support for scratch memory

* Updated tests and docs.

* Update docs data

* Added underflow check

* Record all free events to 0 bytes

* Add format

* Address review comment

* updated tests for scratch memory

* update scratch-memory tests.
Dieser Commit ist enthalten in:
U, Srihari verfasst und GitHub committed 2025-07-09 21:05:45 +05:30
1 Ursprung 2c4e20b951
Commit 6f2a5a9646
13 Dateien geändert
+228 -16

Keine Dateien entsprechen Ihrer Suche

+2
Datei anzeigen
@@ -36,6 +36,7 @@ def test_perfetto_data(
"rocdecode_api",
"rocjpeg_api",
"counter_collection",
"scratch_memory",
),
):
@@ -49,6 +50,7 @@ def test_perfetto_data(
"rocdecode_api": ("rocdecode_api", "rocdecode_api"),
"rocjpeg_api": ("rocjpeg_api", "rocjpeg_api"),
"counter_collection": ("counter_collection", "counter_collection"),
"scratch_memory": ("scratch_memory", "scratch_memory"),
}
# make sure they specified valid categories