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.
Этот коммит содержится в:
U, Srihari
2025-07-09 21:05:45 +05:30
коммит произвёл GitHub
родитель 2c4e20b951
Коммит 6f2a5a9646
13 изменённых файлов: 228 добавлений и 16 удалений
+2
Просмотреть файл
@@ -232,6 +232,8 @@ def test_scratch_memory_tracking(input_data):
assert "operation" in node
assert "handle" in node["queue_id"]
assert "allocation_size" in node
assert node["start_timestamp"] > 0
assert node["start_timestamp"] < node["end_timestamp"]