summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2013-11-15 17:19:02 +0100
committerHugues Hiegel <hugues@hiegel.fr>2013-11-15 17:19:02 +0100
commitf1d1ed5ddda21ffe735e49a400405fc02079564d (patch)
tree604a34ba31a5643ff20ffe104171b55be658271e
parent4041c8035871f6cb9e9d8d8a7197041c3bf85c84 (diff)
getTicks.
-rw-r--r--scripts/global.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/global.lua b/scripts/global.lua
index fad73df..6008f9f 100644
--- a/scripts/global.lua
+++ b/scripts/global.lua
@@ -253,7 +253,7 @@ function GetSLIMaxInfo()
end
-- get cpu ticks
- function GetTicks()
+function GetTicks()
local tcks = GetContextInfo("ticks")
if tcks == nil then tcks = 0 end
return tcks