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

Function printTime

test_Grad.cpp:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void printTime(const string &name, double time_avg_us)
86{
87 cout << std::left << std::setw(35) << name << ": "
88 << "\033[33m" << std::fixed << std::setprecision(3) << time_avg_us << " us\033[0m" << endl;
89}
90
91void printTimeStats(const string &name, const BenchmarkStats &stats)
92{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected