MCPcopy Create free account
hub / github.com/android/ndk-samples / stats_init

Function stats_init

bitmap-plasma/app/src/main/cpp/plasma.cpp:264–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262} Stats;
263
264static void stats_init(Stats* s) {
265 s->lastTime = now_ms();
266 s->firstTime = 0.;
267 s->firstFrame = 0;
268 s->numFrames = 0;
269}
270
271static void stats_startFrame(Stats* s) { s->frameTime = now_ms(); }
272

Callers 1

RenderPlasmaFunction · 0.85

Calls 1

now_msFunction · 0.85

Tested by

no test coverage detected