lcore.org gitweb
/
lcore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace internal uses of gettimeofday with monotonic time where appropriate. make...
[lcore.git]
/
lcore.pas
diff --git
a/lcore.pas
b/lcore.pas
index 109f4d73b724894369bf19590b60573caba162f0..f47bdabff64d482bb8ff4aa62001ad6034938b39 100644
(file)
--- a/
lcore.pas
+++ b/
lcore.pas
@@
-669,7
+669,7
@@
end;
{$ifndef mswindows}
\r
procedure tltimer.resettimes;
\r
begin
\r
{$ifndef mswindows}
\r
procedure tltimer.resettimes;
\r
begin
\r
- gettime
ofday
(nextts);
\r
+ gettime
monotonic
(nextts);
\r
{if not initialevent then} tv_add(nextts,interval);
\r
end;
\r
{$endif}
\r
{if not initialevent then} tv_add(nextts,interval);
\r
end;
\r
{$endif}
\r