March 19, 2015
9:42 a.m.
2015-03-19 10:27 GMT+01:00 Julien Delplanque <julien@tamere.eu>:
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 :)
Ah, I just saw, he already provides the same in OS-Windows.
Julien