change uptime interface to return time in seconds.nanoseconds