* @brief Fills one report row: ungated runs (informational tiers) show n/a target and result. */
| 744 | * @brief Fills one report row: ungated runs (informational tiers) show n/a target and result. |
| 745 | */ |
| 746 | static void fillReportRow(const HotpathBenchmark::Result& r, const char* tag, QString* cells) |
| 747 | { |
| 748 | Q_ASSERT(tag != nullptr); |
| 749 | Q_ASSERT(cells != nullptr); |
| 750 | |
| 751 | const bool gated = r.minFps > 1.0; |
| 752 | cells[0] = QString::fromLatin1(tag); |
| 753 | cells[1] = groupedCount(static_cast<double>(r.framesParsed)); |
| 754 | cells[2] = groupedCount(static_cast<double>(r.framesSkipped)); |
| 755 | cells[3] = QString::number(r.elapsedSeconds, 'f', 2); |
| 756 | cells[4] = groupedCount(r.framesPerSecond); |
| 757 | cells[5] = gated ? groupedCount(r.minFps) : QStringLiteral("n/a"); |
| 758 | if (gated) |
| 759 | cells[6] = r.passed ? QStringLiteral("PASS") : QStringLiteral("FAIL"); |
| 760 | else |
| 761 | cells[6] = QStringLiteral("n/a"); |
| 762 | } |
| 763 | |
| 764 | /** |
| 765 | * @brief Prints the per-run throughput table through the shared stdout + file sink. The named |
no test coverage detected