diff --git a/flutter/lib/ui/history/extended_result_screen.dart b/flutter/lib/ui/history/extended_result_screen.dart index 7e238a658..be8a3b28d 100644 --- a/flutter/lib/ui/history/extended_result_screen.dart +++ b/flutter/lib/ui/history/extended_result_screen.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:mlperfbench/benchmark/run_mode.dart'; import 'package:provider/provider.dart'; @@ -195,6 +196,7 @@ class _ExtendedResultViewState extends State { final utils = HistoryHelperUtils(l10n); final modelDescription = res.environmentInfo.modelDescription; final socDescription = utils.makeSocName(state, res.environmentInfo); + final runMode = res.meta.runMode?.localizedName(l10n) ?? l10n.unknown; return [ helper.makeInfo(l10n.historyDetailsDate, date), @@ -204,6 +206,7 @@ class _ExtendedResultViewState extends State { helper.makeInfo(l10n.historyDetailsBackendName, backendName), helper.makeInfo(l10n.historyDetailsModelName, modelDescription), helper.makeInfo(l10n.historyDetailsSocName, socDescription), + helper.makeInfo(l10n.settingsRunMode, runMode), const Divider(), helper.makeHeader(l10n.historyDetailsTableTitle), makeBenchmarkTable(context, res.results),