|
using | duration = std::chrono::nanoseconds |
|
Definition at line 96 of file skpbench.cpp.
◆ duration
◆ Sample()
◆ metric()
static const char * Sample::metric |
( |
| ) |
|
|
inlinestatic |
Definition at line 103 of file skpbench.cpp.
103{ return FLAGS_fps ? "fps" : "ms"; }
◆ ms()
double Sample::ms |
( |
| ) |
const |
|
inline |
Definition at line 101 of file skpbench.cpp.
101{
return std::chrono::duration<double, std::milli>(
fDuration).count(); }
◆ seconds()
double Sample::seconds |
( |
| ) |
const |
|
inline |
◆ value()
double Sample::value |
( |
| ) |
const |
|
inline |
◆ fDuration
◆ fFrames
The documentation for this struct was generated from the following file: