March 19, 2015
9:27 a.m.
And, if there is a system library that provides this data, there is the NativeBoost way: For example( not linux but windows):
new method: NBWin32Shell>>#getUptime
<primitive: #primitiveNativeCall module: #NativeBoostPlugin error: errorCode > ^ self nbCall: #( ulonglong GetTickCount64() ) module: #Kernel32
and then you can call it like that: NBWin32Shell getUptime milliSeconds.
Ok, nice to see there are different way to do it :) But I think I'll use Torsten's solution. Thank for the response anyway :) Julien