Skip to content

Commit

Permalink
[Impeller] Fix pipeline stats traced to the timeline. (#43729)
Browse files Browse the repository at this point in the history
The trace counter was missing the series name and ID.
  • Loading branch information
chinmaygarde authored Jul 16, 2023
1 parent 2408de6 commit d6665ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions impeller/renderer/backend/vulkan/pipeline_library_vk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,10 @@ static void ReportPipelineCreationFeedbackToTrace(
gPipelineCacheMisses++;
}
gPipelines++;
static constexpr int64_t kImpellerPipelineTraceID = 1988;
FML_TRACE_COUNTER("impeller", //
"PipelineCache", // series name
kImpellerPipelineTraceID, // series ID
"PipelineCacheHits", gPipelineCacheHits, //
"PipelineCacheMisses", gPipelineCacheMisses, //
"TotalPipelines", gPipelines //
Expand Down

0 comments on commit d6665ca

Please sign in to comment.