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 lo
/proc/uptime
You could try sysinfo.h.