MCPcopy Create free account
hub / github.com/axmolengine/axmol / ~benchmark_printer

Method ~benchmark_printer

core/base/astc.cpp:220–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218 : _fmt(fmt), _w(w), _h(h), _den(den), _start(yasio::highp_clock())
219 {}
220 ~benchmark_printer() { AXLOGI("{}", fmt::format(_fmt, _w, _h, (yasio::highp_clock() - _start) / _den)); }
221 _FMT _fmt;
222 int _w, _h;
223 float _den;

Callers

nothing calls this directly

Calls 2

highp_clockFunction · 0.85
formatFunction · 0.70

Tested by

no test coverage detected