Code: Select all
(toNumber (join (at (at (words (mem)) 3) 2) (at (at (words (mem)) 3) 3) '.' (at (at (words (mem)) 3) 5)))
Moderator: MSandro
Code: Select all
(toNumber (join (at (at (words (mem)) 3) 2) (at (at (words (mem)) 3) 3) '.' (at (at (words (mem)) 3) 5)))
Code: Select all
GP Scripts
script 'MyClass' 423 194 {
local 'tmp' (msecsSinceStart)
setShared 'monit' 0
repeat 100000000 {
var = (100 * ((at (memStats) 1) / 200000000))
}
setShared 'monit' (((msecsSinceStart) - tmp) / 100000000)
}
script 'MyClass' 169 349 {
local 'tmp' (msecsSinceStart)
setShared 'monit' 0
repeat 100000 {
var = (toNumber (join (at (at (words (mem)) 3) 2) (at (at (words (mem)) 3) 3) '.' (at (at (words (mem)) 3) 5)))
}
setShared 'monit' (((msecsSinceStart) - tmp) / 100000)
}
Thanks you.
Waw, we can use Ctrl+b ? That's really, really, awesome. Thanks for the advice I'll do that starting from now.