I’m trying to measure the time taken by my code. In order to do it I’m using a text element which displays a timer.
Since timers are affected by processor speed, and since the code I’m testing is very slow, the timer says 1.6s when the actual time passed is 5s. How can I fix it?
- maybe there’s an internal feature I’m missing?
- maybe by accessing the device’s clock?
I’m aware there are tools like the debugger and the profiler, but I have to measure the performances on multiple devices. (I can’t ask my friends to install and learn Gdevelop to tell me if my game lags )