Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

dev_update_timedev_update_timeDevUpdateTimeDevUpdateTimedev_update_time (Operator)

Name

dev_update_timedev_update_timeDevUpdateTimeDevUpdateTimedev_update_time — Switch time measurement for operators on or off.

Signature

dev_update_time( : : DisplayMode : )

Herror dev_update_time(const char* DisplayMode)

Herror T_dev_update_time(const Htuple DisplayMode)

void DevUpdateTime(const HTuple& DisplayMode)

static void HOperatorSet.DevUpdateTime(HTuple displayMode)

def dev_update_time(display_mode: str) -> None

Description

dev_update_timedev_update_timeDevUpdateTimeDevUpdateTimedev_update_time controls whether the execution time of an operator is displayed.

For measuring the execution time of a sequence of operators all update options should be switched off in order to reduce the influence of the runtime of GUI updates in HDevelop. For this the operators dev_update_pcdev_update_pcDevUpdatePcDevUpdatePcdev_update_pc, dev_update_timedev_update_timeDevUpdateTimeDevUpdateTimedev_update_time, dev_update_vardev_update_varDevUpdateVarDevUpdateVardev_update_var, and dev_update_windowdev_update_windowDevUpdateWindowDevUpdateWindowdev_update_window or the procedures dev_update_on and dev_update_off can be used.

This option can also be controlled via the Preferences dialog: Edit -> Preferences -> Runtime Settings -> Show Processing Time.

Attention

This operator is not supported for code export.

Parameters

DisplayModeDisplayModeDisplayModedisplayModedisplay_mode (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Mode for graphic output.

Default: 'off' "off" "off" "off" "off"

List of values: 'off'"off""off""off""off", 'on'"on""on""on""on"

Result

If the values of the specified parameters are correct, dev_update_timedev_update_timeDevUpdateTimeDevUpdateTimedev_update_time returns 2 ( H_MSG_TRUE) . Otherwise, an exception is raised and an error code returned.

See also

dev_update_pcdev_update_pcDevUpdatePcDevUpdatePcdev_update_pc, dev_update_windowdev_update_windowDevUpdateWindowDevUpdateWindowdev_update_window, dev_update_vardev_update_varDevUpdateVarDevUpdateVardev_update_var

Module

Foundation