Post Reply 
Varying speed of a program.
05-21-2022, 10:02 AM
Post: #2
RE: Varying speed of a program.
Bonjour,

On va éventuellement confirmer ou infirmer, mais je pense aux possibilités suivantes :

- soit à problème de gestion de mémoire en lien avec les applications ou autre.
- soit à un vidage de la mémoire qui n'intervient pas quand il faudrait ou en tout cas aléatoirement en apparence.



(05-21-2022 09:46 AM)matalog Wrote:  I have been trying to measure how long a program takes to run using TICK:


Code:
T1:=TICK

CODE

T2:=TICK
PRINT(T2-T1).

Which seems to do what it says it will.

The problem is that it is different everytime I run the program. There is no random WAIT() or anything that I would have thought would vary the runtime of the program.

Any Ideas what causes the program runtime to change?

To give an idea, it has been varying between 51 and 42 seconds for one program, and between 55 and 50 seconds for another. It seems to run fastest when the calculator has just been turned on.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Varying speed of a program. - matalog - 05-21-2022, 09:46 AM
RE: Varying speed of a program. - albud44 - 05-21-2022 10:02 AM
RE: Varying speed of a program. - Gene - 05-21-2022, 10:09 PM
RE: Varying speed of a program. - matalog - 05-21-2022, 05:01 PM
RE: Varying speed of a program. - matalog - 05-21-2022, 11:47 PM
RE: Varying speed of a program. - anyfoo - 05-22-2022, 01:34 AM
RE: Varying speed of a program. - matalog - 05-24-2022, 08:43 PM



User(s) browsing this thread: 1 Guest(s)