I need a method which can give me the number of miliseconds or seconds, elapsed since the system was started.
I could parse /proc/uptime
, but i can't afford to lose performance over this I/0 and parsing.
I'm using Linux and C/C++. Maybe i can put some Qt/Boost, but is better to be something native.