31#ifndef OOSTOPWATCH_STANDALONE
52#define OO_PROFILING_STOPWATCH_MACH_ABSOLUTE_TIME 1
53#import <mach/mach_time.h>
57#define OOGetHighResTime mach_absolute_time
58#define OODisposeHighResTime(time) do { (void)time; } while (0)
59#define OOCopyHighResTime(time) ((OOHighResTimeValue)time)
64#if OOSTOPWATCH_STANDALONE
65#define OO_PROFILING_STOPWATCH_WINDOWS 1
71#define OOGetHighResTime timeGetTime
72#define OODisposeHighResTime(time) do { (void)time; } while (0)
73#define OOCopyHighResTime(time) ((OOHighResTimeValue)time)
80#define OO_PROFILING_STOPWATCH_JS_NOW 1
87#define OO_PROFILING_STOPWATCH_GETTIMEOFDAY 1
95 gettimeofday(&tv, NULL);
99#define OODisposeHighResTime(time) do { (void)time; } while (0)
100#define OOCopyHighResTime(time) ((OOHighResTimeValue)time)
104#if OO_PROFILING_STOPWATCH_JS_NOW
108#define OOGetHighResTime JS_Now
109#define OODisposeHighResTime(time) do { (void)time; } while (0)
110#define OOCopyHighResTime(time) ((OOHighResTimeValue)time)
124+ (instancetype) stopwatch;
OOTimeDelta OOHighResTimeDeltaInSeconds(OOHighResTimeValue startTime, OOHighResTimeValue endTime)
uint64_t OOHighResTimeValue
OOHighResTimeValue _start