==== TICKS ====
----
Return elapsed time in microseconds
----
^ __Input Stack__ ^ ^ __Output Stack__ ^
| **** | **→** | **Imsec** |
| //Level 1// | //→// | //Level 1// |
{{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}}
| **Keyword type** | [[manual:chapter5:basics#commands|Command]] ||
| **Parallel list processing capabilities** | [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]] | //Commands that cannot parallel process// |
| **Affected by flags** | //None// ||
----
The ''TICKS'' command returns a real number measuring the time in microseconds since the calculator has been switched on.
----
''TICKS'' is not fully equivalent to its **userRPL** counterpart.
In particular:
* the **userRPL** ''TICKS'' command returns a binary integer measuring elapsed time in //ticks//, whereas 8192 ticks = 1 second.
----
**__Input__**
4:
3:
2:
1:
…………………………………………………………………………………………………………
TICKS
\\
**__Output__**
4:
3:
2:
1: 3170800
…………………………………………………………………………………………………………
----
{{page>manual:chapter6:system&nofooter&noeditbtn&inline}}