SET COMMANDTIMING

SET COMMANDTIMING

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

SET COMMANDTIMING

Displays how much time each command takes to execute.

Syntax

SET COMMANDTIMING ON|OFF

Comments

The COMMANDTIMING option is set OFF by default.

The SET COMMANDTIMING command controls the output of command timing messages.

In UNIX, the format of command timing messages is

source, line, IU|RU, user ticks, elapsed user ticks, IS|RS, system ticks, elapsed system ticks

source

The name of the application document that contains the command; if it is the ZIM prompt, source is “”.

line

The line number of the line in the application document on which the command begin; if the value of source is “”, the value of line is a sequential number from the prompt.

IU|RU

Can be
IU (interpretive user execution)
RU (runtime user execution)

user ticks

The time it took to interpret the command (for interpretive execution) or the time it took to accept the command for processing (for compiled execution).

elapsed user ticks

The time it took to interpret the command, as seen by the user.

IS|RS

Can be
IS (interpretive user execution)
RS (runtime user execution)

system ticks

The system ticks used by the command. Usually, the system ticks value is lower than the user ticks value.

elapsed system ticks

The number of ticks spent by the execution of the command as seen by the system. Usually the elapsed system ticks value is lower than the elapsed user ticks value.

For Windows systems, the format of command timing messages is

source, line, I|R, user ticks, elapsed user ticks

source

The name of the application document that contains the command; if it is the ZIM prompt, source is “”.

line

The line number of the line in the application document on which the command begin; if the value of source is “”, the value of line is a sequential number from the prompt.

I|R

Can be
I (interpretive user execution)
R (runtime user execution)

user ticks

The time it took to interpret the command (for interpretive execution) or the time it took to accept the command for processing (for compiled execution).

elapsed user ticks

The time it took to interpret the command, as seen by the user.

 

See Also

SET LEXTRACE

SET TRACE

SET TRACEOUTPUT

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish