I want to know how I can time the execution of a module with greater precision than what is provided by the time module i.e. with greater than 0.1 second resolution
Here is my code:
>>>import eosClass_steff_test2 as mod;
>>>import srk as typeEOS
>>>import benzene as typeMolecule
>>>import time
>>>benzsrk=mod.EOS(typeEOS,typeMolecule)
>>>start = time.time()
>>>benzsrk.Z(300,20)
>>>print ('It took', time.time()-start , 'seconds.')`