Skip to content

Commit

Permalink
fixed excessive GC Alloc bytes on gc_detail.csv
Browse files Browse the repository at this point in the history
  • Loading branch information
wotakuro committed Mar 29, 2024
1 parent 7bd8c85 commit 5843fd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Editor/Analyzer/Impl/GcCallStackInfoAnalyzeToFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public override void CollectData(ProfilerFrameData frameData)
using (new ProfilingScope(_gcAllocGetSampler))
#endif
{
selfGcAlloc = parent.GetSelfChildGcAlloc();
selfGcAlloc = sample.currenGcAlloc;
}
AddData(thread.FullName, parent, GetCallStackInfo(frameData, sample),
selfGcAlloc);
Expand All @@ -136,7 +136,7 @@ public override void CollectData(ProfilerFrameData frameData)
{
var parent = sample.parent;
AddData(thread.FullName, parent, GetCallStackInfo(frameData, sample),
parent.GetSelfChildGcAlloc());
sample.currenGcAlloc);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.utj.profilerreader",
"displayName": "Profiler Reader",
"version": "0.8.0-preview",
"version": "0.8.1-preview",
"unity": "2018.1",
"description": "read profiler log data package",
"keywords": [
Expand Down

0 comments on commit 5843fd0

Please sign in to comment.