Closed Pyseph closed 3 years ago
os.clock should only be used for it's intended purpose, which is benchmarking as stated on the wiki. It does not reflect upon actual time but rather CPU time - time() is a better alternative for this.
Good suggestion, although that would break plugin compatibility.
Actually, I could leave a comment suggesting to use time for non-plugin purposes.
time
os.clock should only be used for it's intended purpose, which is benchmarking as stated on the wiki. It does not reflect upon actual time but rather CPU time - time() is a better alternative for this.