Skip to content

Commit df2e020

Browse files
committed
Comment cleanup
1 parent 43d1f20 commit df2e020

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

PerfettoCds/Pipeline/CompositeDataCookers/PerfettoFrameEventCooker.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
namespace PerfettoCds.Pipeline.CompositeDataCookers
1616
{
1717
/// <summary>
18-
/// Pulls data from multiple individual SQL tables and joins them to create a frame event.
18+
/// Pulls data from multiple individual SQL tables and joins them to create PerfettoFrameEvents.
1919
/// These frame events represent frames that were scheduled and then rendered by apps.
2020
/// </summary>
2121
public sealed class PerfettoFrameEventCooker : CookedDataReflector, ICompositeDataCookerDescriptor
@@ -57,8 +57,7 @@ void PopulateFrameEvents(IDataExtensionRetrieval requiredData, ProcessedEventDat
5757
var actualFrameData = requiredData.QueryOutput<ProcessedEventData<PerfettoActualFrameEvent>>(new DataOutputPath(PerfettoPluginConstants.ActualFrameCookerPath, nameof(PerfettoActualFrameCooker.ActualFrameEvents)));
5858
var expectedFrameData = requiredData.QueryOutput<ProcessedEventData<PerfettoExpectedFrameEvent>>(new DataOutputPath(PerfettoPluginConstants.ExpectedFrameCookerPath, nameof(PerfettoExpectedFrameCooker.ExpectedFrameEvents)));
5959

60-
// The sched slice data contains the timings, CPU, priority, and end state info. We get the process and thread from
61-
// those respective tables
60+
// Gather from both actual/expected tables and join with process info
6261
var joinedActual = from frame in actualFrameData
6362
join process in processData on frame.Upid equals process.Upid into pd orderby frame.Id
6463
from process in pd.DefaultIfEmpty()
@@ -68,7 +67,7 @@ join process in processData on frame.Upid equals process.Upid into pd orderby fr
6867
from process in pd.DefaultIfEmpty()
6968
select new { frame, process };
7069

71-
// Create events out of the joined results
70+
// Create FrameEvents out of each type of event
7271
foreach (var result in joinedExpected)
7372
{
7473
Timestamp startTimestamp = new Timestamp(result.frame.RelativeTimestamp);

0 commit comments

Comments
 (0)