27 entry.fRatio = 1.*entry.fSum/diff;
43 for (
auto &&entry : fEntries) {
44 if (entry.fRatio > 0) {
45 if (!res.empty()) res.append(
" ");
46 total += entry.fRatio;
47 if (entry.fName.empty())
48 res.append(std::to_string(cnt));
50 res.append(entry.fName);
52 res.append(std::to_string((
int)(entry.fRatio*1000)));
58 res.append(
" total:");
59 res.append(std::to_string((
int)(total*1000)));
unsigned long long clock_t
std::vector< Entry > fEntries