tps: measure time(stamps) in microseconds

parent 3c98fecb
......@@ -80,7 +80,7 @@ def get_serial():
def timestamp():
"""timestamp for now
"""
return datetime.datetime.now().strftime('%Y%m%d.%H%M%S')
return datetime.datetime.now().strftime('%Y%m%d.%H%M%S%f')
def sha(blob, len=7):
"""create a sha-160 hash of a binary object
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment