Syntax
VMUINT32 vm_time_ust_get_duration(
    VM_TIME_UST_COUNT start_count, 
    VM_TIME_UST_COUNT end_count
);
ContentsIndex
PreviousUpNext
vm_time_ust_get_duration
Example
Syntax
VMUINT32 vm_time_ust_get_duration(
    VM_TIME_UST_COUNT start_count, 
    VM_TIME_UST_COUNT end_count
);
Description

Gets the duration from start_count to end_count, in microsecond. The caller should ensure that the end_count is equal or greater than the start_count.

Parameters
Parameters 
Description 
VM_TIME_UST_COUNT start_count 
[IN] The count at the start. 
VM_TIME_UST_COUNT end_count 
[IN] The count at the end. 
Returns

The duration between start_count and end_count in microseconds.

Example
 start_count = vm_time_ust_get_count();
 ...
 end_count = vm_time_ust_get_count();
 duration = vm_time_ust_get_duration(start_count, end_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.