PxTickGetTimeInMilliSeconds()

Return the actual time since the first call to PxTickDefine_Hnd in milliseconds.

APPLIES TO

8.2.0

SYNOPSIS
PxULong_t PxTickGetTimeInMilliSeconds (void);
RETURN VALUES
  • Actual time since the first call to PxTickDefine_Hnd in milliseconds

  • 0, if the ticks per second are not (yet) set

DESCRIPTION

PxTickGetTimeInMilliSeconds returns the actual time since the first call to PxTickDefine_Hnd in milliseconds.

IMPLEMENTATION GUIDELINES
Before call
  • No checks necessary.

After call
  • No checks necessary.

Best Practice
  • No restrictions.

SEE ALSO
USAGE
#include "pxdef.h"

PxULong_t time = PxTickGetTimeInMilliSeconds();