Is using time.clock() appropriate?


#1

Hi all,

I use time.clock() for my time checks for various games.
Is it appropriate ?
I’ve just read in “Inexplicable time jumps” thread, that proposes using perf_counter(). But it give me very large elapsed time just for initialisation…

Thx for your help !


#2

I use timeit.default_timer(), which works well.