bugfix for posix-clock

time was a bit strange when measuring events more than a second.