[back] [prev] [next] [index] [root]

 


Time

Toggles the time display.

Syntax:

b := Time([true|false]);

boolean
  b  
current status of time display

Description:

Activates or deactivates the time display. Default is {\tt false}. If no argument is given the mode will be toggled. The CPU-time used is displayed after a result of a computation is printed. If there is no printed result, the time will not be printed even if the time display is on.


Example:

Toggling of time display:

kash> o := Order(Z,2,110);
Generating polynomial: x^2 - 110

kash> Time(true);
true
Time: 0 ms
kash> O := OrderMaximal(o);
Generating polynomial: x^2 - 110
Discriminant: 440 

Time: 0 ms
kash> OrderUnitsFund(O);
[ [21, 2] ]
Time: 10 ms
kash> Time();
false
kash> OrderClassGroup(O);
> [ 2, [ 2 ] ]


<- back[back] [prev] [next] [index] [root]