Using struct timeval in python
saptarshi.guha at gmail.com
Sat Sep 8 19:45:04 CEST 2007
I am using a library (pcapy) that returns a timeval object T=
(seconds,microseconds) where microseconds is always < 1e6.
Is there a Python class that can handle timeval structs? Specifically,
I wish to subtract two T (defined above) objects, taking into account
the large values of T and T (esp T)?
At one point, I would have to step in, since T rolls back to zero
(after some time).
Thanks in advance
More information about the Python-list