Adding Profile Information to Rule Files

To capture specific profiling data, you can define a block within a rule file.

To add profile information to a rule file:

  1. Open a rule file and update the major subroutine with Block level information as follows:
    • Use HS.StartTimer to define the start of the block.

    • Use HS.EndTimer to define the end of the block.

    • Define a unique timer ID in the rule file; use any positive integer.

    • Define the user action, such as Calculate. The block name is appended with _TimeID.

    Example:

    HS.StartTimer 1, "Calculate", "", "", "" '1: Unique Timer ID, Calculate: User Defined Block Name
    If Hs.Scenario.Member ="BudV1"  or Hs.Scenario.Member="BudV2" Then
    If HS.Entity.IsBase "Geographical", Then
    ...
    HS.EndTimer 1 '1: Corresponding Unique Timer ID of earlier User defined block to represent End of the Block
  2. Load the updated rule file.
  3. Run the action that you want to profile.