You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
460 B
19 lines
460 B
#include "libplatform/impl.h"
|
|
#include <sys/timeb.h>
|
|
|
|
namespace mp4v2 { namespace platform { namespace time {
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
milliseconds_t
|
|
getLocalTimeMilliseconds()
|
|
{
|
|
__timeb64 buf;
|
|
_ftime64( &buf );
|
|
return milliseconds_t( buf.time ) * 1000 + buf.millitm;
|
|
}
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
}}} // namespace mp4v2::platform::time
|