mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@55224 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander Trofimov
parent
bbbed05c5a
commit
602084a1e1
@ -1,4 +1,4 @@
|
||||
#ifndef _BUILD_TIMER_H_
|
||||
#ifndef _BUILD_TIMER_H_
|
||||
#define _BUILD_TIMER_H_
|
||||
|
||||
#include "BaseThread.h"
|
||||
@ -13,8 +13,7 @@ namespace NSTimers
|
||||
struct timespec ts;
|
||||
clock_gettime(CLOCK_MONOTONIC, &ts);
|
||||
|
||||
return (ts.tv_sec * 1000 + (DWORD)(ts.tvnsec / 100000));
|
||||
}
|
||||
return (ts.tv_sec * 1000 + (DWORD)(ts.tv_nsec / 100000));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user