40 const LONGLONG MILLISECONDS = (1000);
41 const LONGLONG NANOSECONDS = (1000000000);
42 const LONGLONG UNITS = (NANOSECONDS / 100);
47 #define MILLISECONDS_TO_100NS_UNITS(lMs) \ 48 Int32x32To64((lMs), (UNITS / MILLISECONDS)) 58 REFERENCE_TIME m_time;
68 m_time = MILLISECONDS_TO_100NS_UNITS(msecs);
76 inline operator REFERENCE_TIME()
const 87 inline CRefTime& operator=(
const LONGLONG ll)
95 return (*
this = *
this + rt);
100 return (*
this = *
this - rt);
103 inline LONG Millisecs(
void)
105 return (LONG)(m_time / (UNITS / MILLISECONDS));
108 inline LONGLONG GetUnits(
void)
114 const LONGLONG TimeZero = 0;