MCPcopy Create free account
hub / github.com/p-ranav/tabulate / ms_str

Function ms_str

samples/benchmark.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36std::string ms_str(double ms) {
37 std::ostringstream out;
38 out << std::fixed << std::setprecision(2) << ms << " ms";
39 return out.str();
40}
41
42std::string ratio_str(double ms, double baseline_ms) {
43 std::ostringstream out;

Callers 5

benchmark_scalingFunction · 0.85
benchmark_feature_costsFunction · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected