OSMillisecondsToTicks

Syntax

#include <cafe/os.h>

#define OSMillisecondsToTicks(msec) ((((u64)(msec)) * OS_TIMER_CLOCK) / 1000)

Parameters

msec Time in milliseconds.

Return Values

Time in ticks.

Description

Converts time from milliseconds to ticks (at OS_TIMER_CLOCK Hz).

Do Not Call From

None.

See Also

OSTicksToCycles
OSTicksToSeconds
OSTicksToMilliseconds
OSTicksToMicroseconds
OSSecondsToTicks
OSMicrosecondsToTicks

Revision History

2013-05-08 Automated cleanup pass.
2012-08-01 Cleanup Pass
2012-05-25 Match actual prototype.
2010-08-30 Initial version.


CONFIDENTIAL