I am on Win 10 OS, python 2.7.
Both time.time() and datetime.datetime.now() module give me millisecond precision and I would like to have in microseconds precision.
I have a python application keep running, it has its busiest time (big data flow in an out) and thus the time spent on each function would be vary. I would like to profile each function and let the application keep running, aim to identify the bottleneck of the function, where microseconds is needed in this case.
import datetime
print datetime.datetime.now()
2018-07-05 16:29:39.185000
import time
print time.time()
1530779379.18
Is it a problem of Win 10 OS? I believe there should be some lib cater this situation. Please help.