次の方法で共有


OALGetTickCount (Compact 2013)

10/16/2014

This function returns the number of 1-millisecond ticks that have elapsed since the last system boot or reset.

Syntax

UINT32 OALGetTickCount();

Parameters

None.

Return Value

Returns the number of 1-millisecond ticks that have elapsed since the last system boot or reset.

Remarks

The tick counter can overflow, but the overflow period should be approximately 30 seconds or more.

Because this function is used during system boot, it must be able to be called before the interrupt subsystem is active.

Requirements

Header

oal_timer.h

Library

Developer Implemented

See Also

Reference

Timer Functions