| Q D E V _ H L P _ D S T O T V ( )
| | | | | SOURCE: qdev_macros.txt 1.16 (12/09/2014) English AMIGA - PUBLIC
----------------------------------------------------------------------------
NAME
QDEV_HLP_DSTOTV() - Converts from DateStamp to timeval
notation.
SYNOPSIS
QDEV_HLP_DSTOTV(tv, ds);
QDEV_HLP_DSTOTV(struct timeval *, struct DateStamp *);
FUNCTION
This macro allows to convert from system DateStamp to
higher resolution tv time holder.
INPUTS
tv - Timeval pointer whose fileds will be computed.
ds - DateStamp holder.
RETURNS
No output.
BASES
None.
NOTES
This macro is useful when one wants to manipulate the
time and date as it is simplier to subtract or add two
timevals than DateStamps.
This macro due to high arithmetic load(including div.)
is somewhat unsuitable for time critical use.
SEE ALSO
QDEV_HLP_TVTODS()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |