Files
NativeAdreno/NativeAdrenoKernelTime.h
bluseliu50 61eb7d3f5b Import NativeAdreno
Co-authored-by: rpone <rponeawa@qq.com>
2026-10-20 18:21:28 +08:00

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