From 2449bfd48303cc06593f977ea2e2daabedf915a6 Mon Sep 17 00:00:00 2001 From: usrihari123 Date: Thu, 28 Aug 2025 17:37:06 +0530 Subject: [PATCH] Update the scratch memory docs with the new allocation_size field (#685) * Update the scratch memory docs with the new allocation_size field * Address review comment --------- Co-authored-by: Srihari --- .../source/docs/data/scratch_memory_trace.csv | 20 ++++++++++++++++--- .../source/docs/how-to/using-rocprofv3.rst | 2 +- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/projects/rocprofiler-sdk/source/docs/data/scratch_memory_trace.csv b/projects/rocprofiler-sdk/source/docs/data/scratch_memory_trace.csv index 27452602bb..72be7a1211 100644 --- a/projects/rocprofiler-sdk/source/docs/data/scratch_memory_trace.csv +++ b/projects/rocprofiler-sdk/source/docs/data/scratch_memory_trace.csv @@ -1,3 +1,17 @@ -"Kind","Operation","Agent_Id","Queue_Id","Thread_Id","Alloc_Flags","Start_Timestamp","End_Timestamp" -"SCRATCH_MEMORY","SCRATCH_MEMORY_ALLOC","Agent 4",1,113,0,1124926523146168,1124926554133606 -"SCRATCH_MEMORY","SCRATCH_MEMORY_ALLOC","Agent 4",1,113,0,1124926554522025,1124927132642186 \ No newline at end of file +"Kind","Operation","Agent_Id","Queue_Id","Thread_Id","Alloc_Flags","Start_Timestamp","End_Timestamp","Allocation_Size" +"SCRATCH_MEMORY","SCRATCH_MEMORY_ALLOC","Agent 1",1,5007,1,932256089068634,932256089388582,173015040 +"SCRATCH_MEMORY","SCRATCH_MEMORY_FREE","Agent 1",1,5007,1,932256090345618,932256090348789,0 +"SCRATCH_MEMORY","SCRATCH_MEMORY_ALLOC","Agent 1",1,5007,1,932256090411506,932256090623279,1131626496 +"SCRATCH_MEMORY","SCRATCH_MEMORY_FREE","Agent 1",1,5007,1,932256093521432,932256093530990,0 +"SCRATCH_MEMORY","SCRATCH_MEMORY_ALLOC","Agent 1",1,5007,1,932256093595575,932256093602095,45056000 +"SCRATCH_MEMORY","SCRATCH_MEMORY_FREE","Agent 1",1,5007,1,932256093902695,932256093906831,0 +"SCRATCH_MEMORY","SCRATCH_MEMORY_ALLOC","Agent 1",1,5007,1,932256093962398,932256093966689,67764224 +"SCRATCH_MEMORY","SCRATCH_MEMORY_FREE","Agent 1",1,5007,1,932256094295337,932256094299259,0 +"SCRATCH_MEMORY","SCRATCH_MEMORY_ALLOC","Agent 1",1,5007,1,932256094404371,932256094408713,45056000 +"SCRATCH_MEMORY","SCRATCH_MEMORY_FREE","Agent 1",1,5007,1,932256094685921,932256094689887,0 +"SCRATCH_MEMORY","SCRATCH_MEMORY_ALLOC","Agent 1",1,5007,1,932256094793960,932256094798362,1131626496 +"SCRATCH_MEMORY","SCRATCH_MEMORY_FREE","Agent 1",1,5007,1,932256097416678,932256097426118,0 +"SCRATCH_MEMORY","SCRATCH_MEMORY_ALLOC","Agent 1",1,5007,1,932256097478295,932256097484647,1025024000 +"SCRATCH_MEMORY","SCRATCH_MEMORY_FREE","Agent 1",1,5007,1,932256100066945,932256100076315,0 +"SCRATCH_MEMORY","SCRATCH_MEMORY_ALLOC","Agent 1",1,5007,1,932256100125207,932256100131825,1025024000 +"SCRATCH_MEMORY","SCRATCH_MEMORY_FREE","Agent 1",1,5007,1,932256102744204,932256102753599,0 diff --git a/projects/rocprofiler-sdk/source/docs/how-to/using-rocprofv3.rst b/projects/rocprofiler-sdk/source/docs/how-to/using-rocprofv3.rst index 4f0e82699a..43c1ada9b3 100644 --- a/projects/rocprofiler-sdk/source/docs/how-to/using-rocprofv3.rst +++ b/projects/rocprofiler-sdk/source/docs/how-to/using-rocprofv3.rst @@ -492,7 +492,7 @@ Here are the contents of ``scratch_memory_trace.csv`` file: .. csv-table:: Scratch memory trace :file: /data/scratch_memory_trace.csv - :widths: 10,10,10,10,10,10,20,20 + :widths: 10,10,10,10,10,10,20,20,20 :header-rows: 1 For the description of the fields in the output file, see :ref:`output-file-fields`.