Closed radii closed 7 years ago
@ladyada @microbuilder - any word on merging this?
Additionally, if you meant to do relative timing (between packets), you'd still want to use time.time() to get the wall time first.
@ckuethe i havent had a moment to test but ill merge it if you say it works :) does it work?
Yes, it works - attached screenshot shows the difference between the time.clock()
and time.time()
based timings. I'll have a PR shortly to add a relative timestamp mode.
kk!
The time.clock function returns the CPU time used by the process, rather than the current system time. To get the system time (which is what we want to put in the pcap file) use the time.time() function instead.