A timer The timer class represents a timer. For example, to measure the time it takes to transfer a vector of data from the host to the device: const command_queue & Creates a new timer for queue. const timer<T> & Creates a new timer object as a copy of other. const timer<T> & Copies the timer from other. Destroys the timer object. void Starts the timer. void Stops the timer. bool Returns true if the timer is stopped. ulong_ Returns the elapsed time in nanoseconds.