MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / time

Function time

apps/ui/src/perf/properties/tests.ts:296–302  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

294}
295
296function time(): number {
297 if (global.android) {
298 return global.java.lang.System.nanoTime() / 1000000;
299 } else {
300 return global.CACurrentMediaTime() * 1000;
301 }
302}
303
304function executeTest(func: Function): string {
305 let total = 0;

Callers 1

executeTestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected