G.4 Device and host timer functions

The clGetHostTimer and clGetDeviceAndHostTimer functions are recommended for measuring the time in code that relates to OpenCL.

The Arm® implementation guarantees that both functions match the GPU performance counters in the underlying time-source which ensures a consistent scale for time measurement.

Non-ConfidentialPDF file icon PDF version101574_0302_00_en
Copyright © 2019 Arm Limited or its affiliates. All rights reserved.