Syntax
VM_TIME_UST_COUNT vm_time_ust_get_count();
ContentsIndex
PreviousUpNext
vm_time_ust_get_count
Example
Syntax
VM_TIME_UST_COUNT vm_time_ust_get_count();
Description

Gets the count from the microsecond timer (ust), a hardware timer. This microsecond timer counts the microseconds passed from the time the system is powered on until now. It allows the caller to measure the durations in high precision. To calculate the duration between different timer counts, use vm_time_ust_get_duration(), instead of simply subtract values, because the timer counts may wrap around.

Returns

The microseconds from the system power on until now.

Example
 start = vm_time_ust_get_count();
File

vmdatetime.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.