public static interface HardCoderReporter.HardCoderReporterInterface
限定符和类型 | 方法和说明 |
---|---|
void |
errorReport(int callbackType,
long errorTimestamp,
int errCode,
int funcId,
int dataType)
error report
|
void |
performanceReport(int[] performanceBindCoreThreadId,
int enable,
int engineStatus,
int cancelInDelay,
int scene,
long action,
int cpuLevel,
int ioLevel,
int[] bindCoreThreadIdArray,
int executeTime,
int runtime,
int phoneHZ,
int[] cpuLevelTimeArray,
int[] ioLevelTimeArray)
report implementation
|
void performanceReport(int[] performanceBindCoreThreadId, int enable, int engineStatus, int cancelInDelay, int scene, long action, int cpuLevel, int ioLevel, int[] bindCoreThreadIdArray, int executeTime, int runtime, int phoneHZ, int[] cpuLevelTimeArray, int[] ioLevelTimeArray)
performanceBindCoreThreadId
- threads need to bind coreenable
- whether app support HardcoderengineStatus
- whether device support HardcodercancelInDelay
- true when the task has been canceled at delay timescene
- sceneaction
- actioncpuLevel
- request cpu levelioLevel
- request io levelbindCoreThreadIdArray
- threads success to bind coreexecuteTime
- excute time, stopTime - startTimeruntime
- run time, stopTime - initTimephoneHZ
- HardCoderJNI.tickRatecpuLevelTimeArray
- all cpu level stay timeioLevelTimeArray
- all io level stay timevoid errorReport(int callbackType, long errorTimestamp, int errCode, int funcId, int dataType)
callbackType
- type of callbackerrorTimestamp
- timestamp when error occurederrCode
- error codefuncId
- the requst function iddataType
- the callback data type