I don't understand why you take a time in nano an divide it to a lower resolution ?
([femto](http://www.wolframalpha.com/input/?i=1ns+%2F+1000000) if I'm correct)