我要评分
获取效率
正确性
完整性
易理解

GetCpuClock

Obtain the timestamp, that is, the number of clock cycles after the device is reset:

uint64_t HMPP_GetCpuClock ();

Return Value

Current timestamp

Error Codes

None

Example

void  GetCpuClock()
{
    printf("clock = %llu\n", HMPP_GetCpuClock());
}

Output:

clock = 259338746414838

The actual value of clock varies.