MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / groupedCount

Function groupedCount

app/src/Benchmark/HotpathBenchmark.cpp:737–741  ·  view source on GitHub ↗

* @brief Formats a count with thousands separators (fixed English grouping for stable CI logs). */

Source from the content-addressed store, hash-verified

735 * @brief Formats a count with thousands separators (fixed English grouping for stable CI logs).
736 */
737[[nodiscard]] static QString groupedCount(double value)
738{
739 static const QLocale s_locale(QLocale::English);
740 return s_locale.toString(static_cast<qulonglong>(value > 0.0 ? std::llround(value) : 0));
741}
742
743/**
744 * @brief Fills one report row: ungated runs (informational tiers) show n/a target and result.

Callers 1

fillReportRowFunction · 0.85

Calls 1

llroundFunction · 0.85

Tested by

no test coverage detected