Skip to content

Commit

Permalink
Internal change. Not visible in OSS.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 567118852
  • Loading branch information
Profiler Team authored and copybara-github committed Sep 21, 2023
1 parent 73b514f commit 2213683
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/app/common/interfaces/data_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ declare interface GeneralAnalysisProperty {
remark_color?: string;
remark_text?: string;
power_metrics?: string;
program_goodput_percent?: string;
}
/* tslint:enable */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ export class PerformanceSummary implements OnChanges {
'Percentage of the device time that is busy.';
powerMetricsTooltipMessage =
'Avg/Max power consumption of different components/rails, including max of moving average of window size of 100us/1ms/10ms.';
programGoodputEfficiencyTooltipMessage =
'Efficiency based on the go/effective-flops-usage. (Predicted Execution Time / On-duty Execution Time).';

ngOnChanges(changes: SimpleChanges) {
if (!this.generalAnalysis || !this.inputPipelineAnalysis) {
Expand Down Expand Up @@ -234,6 +236,12 @@ export class PerformanceSummary implements OnChanges {
propertyValues: components,
});
}
this.summaryInfoAfter.push({
title: 'Program Goodput Efficiency',
descriptions: ['higher is better'],
tooltip: this.programGoodputEfficiencyTooltipMessage,
value: generalProps.program_goodput_percent,
});
}

parseGenericData() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ message OverviewPageAnalysis {
double device_op_time_outside_compilation_percent = 16;
// Percentage of the device time that is in use.
double device_duty_cycle_percent = 17;
// Program Goodput metric in percentage.
double program_goodput_percent = 18;
}

// Overview result for a performance tip to users.
Expand Down

0 comments on commit 2213683

Please sign in to comment.