MCPcopy Create free account
hub / github.com/defold/defold / get_ticks

Method get_ticks

engine/dlib/src/basis/encoder/basisu_enc.cpp:304–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302 }
303
304 timer_ticks interval_timer::get_ticks()
305 {
306 if (!g_timer_freq)
307 init();
308 timer_ticks ticks;
309 query_counter(&ticks);
310 return ticks - g_init_ticks;
311 }
312
313 double interval_timer::ticks_to_secs(timer_ticks ticks)
314 {

Callers

nothing calls this directly

Calls 2

query_counterFunction · 0.85
initFunction · 0.50

Tested by

no test coverage detected