mirror of
https://github.com/UniXNU/NativeAdreno.git
synced 2026-11-16 04:25:04 +03:00
61eb7d3f5b
Co-authored-by: rpone <rponeawa@qq.com>
14 lines
482 B
C
14 lines
482 B
C
/* SPDX-License-Identifier: MIT */
|
|
#ifndef NATIVE_ADRENO_KERNEL_TIME_H
|
|
#define NATIVE_ADRENO_KERNEL_TIME_H
|
|
#include "NativeAdrenoGmuPlatform.h"
|
|
|
|
/* Real kernel time for the GMU startup: monotonic microseconds from
|
|
* mach_absolute_time and a bounded busy wait. This is the only production
|
|
* implementation of the time callbacks; tests inject their own. */
|
|
struct NativeAdrenoKernelTime {
|
|
static int now_us(void *,uint64_t *);
|
|
static int wait_us(void *,unsigned);
|
|
};
|
|
#endif
|