Closed mpvanderschelling closed 10 months ago
time.perf_counter() is more precise than time.time() and should be used for timing.
time.perf_counter()
time.time()
Replace time.time() with time.perf_counter().
Assignees: Labels:
https://github.com/bessagroup/rvesimulator/blob/ea31752a6da3131cfe55027895ac23ddf684f3de/src/rvesimulator/abaqus2py/abaqus_simulator.py#L231
Problem
time.perf_counter()
is more precise thantime.time()
and should be used for timing.Possible Solution
Replace
time.time()
withtime.perf_counter()
.Assignees: Labels:
https://github.com/bessagroup/rvesimulator/blob/ea31752a6da3131cfe55027895ac23ddf684f3de/src/rvesimulator/abaqus2py/abaqus_simulator.py#L231