MCPcopy Create free account
hub / github.com/Bziyue/SplineTrajectory / printTimeStats

Function printTimeStats

test_Grad.cpp:91–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void printTimeStats(const string &name, const BenchmarkStats &stats)
92{
93 cout << std::left << std::setw(35) << name << ": "
94 << "\033[33m" << std::fixed << std::setprecision(3) << stats.mean_us
95 << " us\033[0m"
96 << " (std: " << std::setprecision(3) << stats.std_us
97 << ", min: " << std::setprecision(3) << stats.min_us << ")" << endl;
98}
99
100void generateRandomData(int N,
101 std::vector<double> &times,

Callers 3

testCubicFunction · 0.85
testQuinticFunction · 0.85
testSepticFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected