Version: 5
restore

Contents

Method

SetCriticality

ModuleDevice
LibraryCore
Action

Sets the user-defined criticality level for this device.

Parameters

Value  (int): The (numeric) criticality value to assign to this device (between 0 and 255 inclusive).

Return values

Value  (int): The updated criticality value for this device.

Example
 Device.SetCriticality(Value: 3);
Platforms
  • Windows
  • Linux
  • MacOS
  • Solaris Intel
  • Solaris Sparc
  • Android
Notes

Available from v4.0.

Use Device.GetCriticality to retrieve the assigned criticality value.

Changes to criticality are automatically sent back to the Tachyon Server so that the assigned value can be used as part of a coverage expression.

Tachyon Applications - such as Explorer, Patch Success and Guaranteed State - interpret these numeric values based on the CriticalityMapping global setting defined in the Tachyon Server. This setting provides a translation between the numeric value and the corresponding description.