[ABI] Added CpuFeatures to Target and CodeHolder, improved test_perf

This commit is contained in:
kobalicek
2023-01-15 16:12:52 +01:00
parent a9ac13536e
commit 1ed8b77f5b
18 changed files with 155 additions and 55 deletions

View File

@@ -30,12 +30,4 @@ public:
}
};
static inline double mbps(double duration, uint64_t outputSize) noexcept {
if (duration == 0)
return 0.0;
double bytesTotal = double(outputSize);
return (bytesTotal * 1000) / (duration * 1024 * 1024);
}
#endif // PERFORMANCETIMER_H_INCLUDED