mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-18 04:54:36 +03:00
[ABI] Added CpuFeatures to Target and CodeHolder, improved test_perf
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user