Skip to content

Commit

Permalink
Merge pull request #102 from gudnimg/time-elapsed-fix
Browse files Browse the repository at this point in the history
Fix time elapsed statistic when running multiple threads
  • Loading branch information
nunobrum committed May 26, 2023
2 parents 1dfc06c + 5e3cc3b commit 23b8fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyLTSpice/sim/run_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
logging.basicConfig(filename='SpiceBatch.log', level=logging.INFO)

if sys.version_info.major >= 3 and sys.version_info.minor >= 6:
clock_function = time.process_time
clock_function = time.perf_counter
else:
clock_function = time.clock

Expand Down

0 comments on commit 23b8fd8

Please sign in to comment.