English [LuaJIT/LuaFFI] Fix for os.clock icon

8 comments
22.06.15 07:21:12 pm
like 6 like it!
908 b, 492 Downloads
Starkkz
Moderator
Offline Off
Some of you might not have noticed it yet but the way that os.clock works on Linux is much different than it does on windows even in normal Lua 5.1. It just counts the time that the cpu has been running while it skips the sleep/vsync delay time. This replacement should fix that and it would make it work exactly like in Windows.

Installation is normal, just extract it and it'll be working.
edited 1×, last 28.07.15 02:21:22 pm
ok This file has been reviewed and approved by Sparty (04.12.15 10:06:51 am)

Comments

8 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
21.01.23 05:13:06 pm
Up
mrc
User
Offline Off
LUA ERROR: sys/lua/autorun/main.lua:3: attempt to index global 'jit' (a nil value)
23.06.15 09:44:16 am
like I like it!
Up
SpriNG
User
Offline Off
Nice job.
22.06.15 10:35:45 pm
like I like it!
Up
Marcell
Super User
Offline Off
Nice, good to see you working hard on these LuaJIT stuffs.
22.06.15 10:19:08 pm
like I like it!
Up
BcY
Reviewer
Offline Off
Again thanks for solving the problem.
22.06.15 08:22:57 pm
Up
GeoB99
Moderator
Offline Off
Seems very useful to cover the bug about os.clock. Nice job anyway.
22.06.15 07:39:37 pm
like I like it!
Up
Infinite Rain
Reviewer
Offline Off
Very useful, thanks.
22.06.15 07:29:41 pm
like I like it!
Up
VADemon
User
Offline Off
Well done.

Hello, %user%, for your information read http://lua-users.org/wiki/DateAndTime
22.06.15 07:24:04 pm
like I like it!
Up
sheeL
User
Offline Off
Awesome!
Nice job.
To the start Previous 1 Next To the start