1. Home
  2. Docs
  3. JZR report
  4. Customization
  5. Sheet – Task sequence

Sheet – Task sequence

Standard sheets

Some predefined sheets focusing on various areas (CPU, memory, contentions..) are provided in the analyzer/config/report/sheet/sequence directory of your Jeyzer installation. Those can be referenced in your report.xml.

Refer to the below sections for any customization.


Configuration

Specific sheet attributes :
type : must be set to sequence
link_type : the link acronym label and id when the sheet gets referenced from other ones (ex: Monitoring Events sheet).
Acronym must be composed of three letters.

The Task Sequence sheet contains those following configurable parts :

  • Headers
  • Row headers
  • Actions
  • Charts

Headers

See Headers section


Row headers

Row headers display figures in relation with the actions.

Row headers can get navigation links pointing to their action by setting the action_link to true.

<row_headers>
  <thread_id action_link="true"/>
  <thread_name/>
</row_headers>

Pane freeze
For readability convenience, the left pane is frozen automatically only if there is less than 5 row headers to display.
To change this behavior, you may either force/disable the freezing at the sheet configuration level.

<row_headers freeze="true">

Or change the global setting at the setup level in the config/setup/default_setup.xml.

<row_headers unfreeze_pane_threshold="5"/>

Threshold highlight
Row header numeric values can be highlighted in color when reaching a predefined threshold.
Threshold is optional and set to 70 when the row header is percentage based.

<action_consumed_cpu color="ORANGE" threshold="50"/>

Highlights
Highlights of specific values are supported
See the highlights section.


Row headers reference list

Headers in bold can manage figure variants and therefore be instantiated multiple times : declaration example is provided in their description.

Name Configuration idDescription
Action principalfunction_principalAction principal also known as action function principal
Contention typecontention_type_principalContention type principal
CPUaction_consumed_cpuCPU usage of the current action
The color_activity permits to highlight any CPU usage > 0
<action_consumed_cpu color_activity="RGB-225-255-225"/>
CPU runnablecpu_runnableNumber of stacks within the action that were eligible for immediate CPU usage
Durationaction_durationAction minimum duration in seconds
Frozenfrozen_code_stateNumber of stacks which were consecutively identical
Jeyzer MX actionjzr_mx_action_function_principal Action principal obtained through the Jeyzer Publisher MX interface
Jeyzer MX action start timejzr_mx_action_start_timeAction start date obtained through the Jeyzer Publisher MX interface
Jeyzer MX action all context parametersjzr_mx_all_context_paramsList of all applicative context parameters (name value pair) associated to the current action (first recording snapshot) obtained through the Jeyzer Publisher MX interface
This field display makes sense only if the set of applicative context parameters is constant by nature
Jeyzer MX action context idjzr_mx_context_idApplicative action context id obtained through the Jeyzer Publisher MX interface
Jeyzer MX action context parameter numberjzr_mx_context_param_numberAction numeric parameter referenced by its name obtained through the Jeyzer Publisher MX interface
<jzr_mx_context_param_number name="location_index" display="Location index" display_comment="Location index"/>
This field display makes sense only if the parameter is constant by nature
Jeyzer MX action context parameter stringjzr_mx_context_param Action text parameter referenced by its name obtained through the Jeyzer Publisher MX interface
<jzr_mx_context_param name="location_name" display="Location name" display_comment="Location name"/>
This field display makes sense only if the parameter is constant by nature
Jeyzer MX action userjzr_mx_action_userAction user identifier obtained through the Jeyzer Publisher MX interface
Lock statelock_stateAction lock state. Letter codes identify the type of lock :
D = deadlock
L = locked / lock owner
S = suspended on debug breakpoint
Memoryaction_consumed_memoryAllocated memory in Mb for the current action
The color_activity permits to highlight any memory allocation > 0
<action_consumed_memory color_activity="RGB-225-255-225"/>
Operation principaloperation_principalOperation principal of the action
Sizeaction_sizeNumber of recording snapshots captured for the current action
Start timeaction_start_timeAction start time
Thread idthread_idThread id. Unique
Thread namethread_nameThread name. No guaranteed to be unique
Thread typeexecutorThe thread type, also known as executor

Actions

The action layout is following a Gantt chart mode.

Action display is fully configurable and allows through the usage of display rules (consider it as decorators):

  • the display of values, taken out from the current action stack
    Multiple field display is possible : each field value will be separated from each other by a slash separator
  • the look and feel adjustment, based on a current action stack field value
    Multiple display adjustment is possible (color cell background, underlined text, wrapped text, cell comment..) applied in the declaration order which means that the last one takes over (important when dealing with background colors).

Threshold highlight
Action numeric values can be highlighted in color when reaching a predefined threshold.
Threshold is optional and set to 70 when the action field is percentage based.

<consumed_memory color="ORANGE" threshold="100"/>

Highlights
Highlights of specific values are supported
See the highlights section.

Legend
Field legend is automatically displayed when the display rule supports it.
Legend content varies from one field to another.
For the text fields, the legend relies on the highlights.

Statistics
Some display rules do support the statistics display, along with the legend.
Statistics apply on value based fields as ranges and on text fields as enum.
Stats display can be be disabled with the stat attribute.

<advanced_operation stats="false"> 

Action reference list

NameConfiguration idDescriptionLegend supportStats support
Advanced contention typeadvanced_contention_typeDisplays the contention type(s) of the current stack
The all_contention_types indicates if the full list of contentions must be displayed or only the principal one (default)
This rule is usually associated with a set of highlights.
<advanced_contention_type all_contention_types="true"/>
YesNo
Advanced function ruleadvanced_functionDisplays the function principal of the current stack
The display_operation and display_contention_type permit to append to it the operation principal and contention type principal of the current stack.
This rule is usually associated with a set of highlights.
<advanced_function display_operation="true" display_contention_type="false"/>
YesNo
Applicative activity usageact_usageDisplays the CPU applicative usage of the thread
This rule is usually associated with a default set of highlights :
<act_usage>
<highlights highlights_config_file="${JEYZER_ANALYZER_CONFIG_DIR}/report/highlights/cpu-ranges.xml"/>
</act_usage>
YesYes
Applicative memory usageapplicative_memory_activityDisplays the Memory applicative usage of the thread YesYes
ATBI of interestatbi_of_interestPermits to identify the ATBI stacks of interest, meaning the ones with a large stack.
When the stack is higher than the given threshold, the cell will be colorized and the text set as (ATBI).
Useful when doing manual analysis profile enrichment
<atbi_of_interest threshold="10" color="ORANGE"/>
YesNo
Biased lockbiased_lockUnderlines the cell value if the stack contains one or more biased locksYesNo
Consumed memoryconsumed_memoryDisplays the consumed memory (allocated bytes in the last period) in Mb
If the thread did consume some memory (between 0 and the threshold), the cell will be colorized with the color_activity one.
<consumed_memory color="ORANGE" threshold="100" color_activity="RGB-225-255-225"/>
YesYes
Contention typecontention_typeDisplays the full list of contention types
Use the Function histogram to get stats on contention types
YesNo
CPU detailscpu_detailsDisplays the CPU consumption percentages at process (cpu), user (usr), system (sys = cpu – usr) and applicative level.
Set the value_activity to true to display only the positive values and ignore the zero ones.
This rule is usually associated with a default set of highlights applied on the CPU process usage :
<cpu_details value_activity="true">
<highlights highlights_config_file="${JEYZER_ANALYZER_CONFIG_DIR}/report/highlights/cpu-ranges.xml"/>
</cpu_details>
YesNo
CPU usagecpu_usageDisplays the CPU consumption percentages at process level (cpu)
This rule is usually associated with a default set of highlights :
<cpu_usage value_activity="true">
<highlights highlights_config_file="${JEYZER_ANALYZER_CONFIG_DIR}/report/highlights/cpu-ranges.xml"/>
</cpu_usage>
YesYes
Frozen code statefrozen_code_stateAdd a border of the given color to the action cells with an identical stack
Points out the freeze impression
<frozen_code_state color="RED"/>
YesYes
FunctionfunctionDisplays the full list of functions
Use the Function histogram to get stats on functions
YesNo
Jeyzer MX all context parametersjzr_mx_all_context_paramsAdds, as a cell comment, the list of applicative context parameters (name value pair) obtained through the Jeyzer Publisher MX interface NoNo
Jeyzer MX context parameter numberjzr_mx_context_param_numberDisplays the last numeric value of the given name MX parameter obtained through the Jeyzer Publisher MX interface
<jzr_mx_context_param_number name="processed-entity-age"/>
NoNo
Jeyzer MX context parameter string jzr_mx_context_paramDisplays the last textual value of the given name MX parameter obtained through the Jeyzer Publisher MX interface
This rule is usually associated with a set of highlights.
<jzr_mx_context_param name="processed-entity-name"/>
NoNo
Lock statelock_stateDisplays the lock information in this priority order : deadlock, locked & locker, locked, locking, code locked (locker), suspended.
Locks ids are displayed when appropriate and links permit to navigate to the lock owner thread.
The class name on which the lock is put on is displayed as suffix (since Jeyzer 2.6).
<lock_state color="ORANGE" lock_owner="RGB-209-47-109" lock_owner_and_locked="RGB-174-76-169" deadlock="RED" suspended="RED"/>
YesYes
Long running actionlong_runningSet the cell background color with color when the action size (number of stacks composing it) is greater or equal to threshold
Multiply this threshold by the recording period time to get the time length
<
long_running color="LIGHT_YELLOW" threshold="10"/>
YesYes
Long stacklong_stackCell text size gets increased if the associated stack size is greater or equal to threshold
Scope reduction to ATBI only is possible with the atbi_only attribute.
The cell text size is set with font_size.
<long_stack threshold=”15″ font_size=”15″ atbi_only=”false”/>
Since Jeyzer 2.2
YesNo
OperationoperationDisplays the full list of operations
Use the Function histogram to get stats on functions
YesNo
OTBI of interestotbi_of_interestPermits to identify the OTBI stacks of interest, meaning the ones with a large stack.
When the stack is higher than the given threshold, the cell will be colorized and the text set as (OTBI).
Useful when doing manual analysis profile enrichment
<otbi_of_interest threshold="12" color="RGB-146-208-80"/>
YesNo
StackstackAdds the stack content as a cell comment. It includes the stack headers.
When a large number of actions is identified (>1000 by default), the stack display is optimized by repeating the identical stacks less frequently : this speeds up the report generation, reduces slightly the JZR report size and makes it more readable.
NoNo
Stack sizestack_sizeDisplays the stack size. Highlights the cell with color when the stack contains no function (= ATBI) and it size is below or equal to threshold
Useful when doing manual analysis profile enrichment
<stack_size threshold="12" color="RGB-233-140-63"/>
NoNo
Thread statestateDisplays the thread state
This rule is usually associated with a set of default highlights :
<state>
<highlights highlights_config_file="${JEYZER_ANALYZER_CONFIG_DIR}/report/highlights/thread-states.xml"/>
</state>
YesNo
Sys CPU usagesys_usageDisplays the CPU consumption percentages at sys level (sys = cpu – usr)
This rule is usually associated with a default set of highlights :
<sys_usage value_activity="true">
<highlights highlights_config_file="${JEYZER_ANALYZER_CONFIG_DIR}/report/highlights/cpu-ranges.xml"/>
</sys_usage>
YesYes
Text wrapwrap_textWraps the cell textNoNo
Usr CPU usageusr_usageDisplays the CPU consumption percentages at usr level
This rule is usually associated with a default set of highlights :
<usr_usage value_activity="true">
<highlights highlights_config_file="${JEYZER_ANALYZER_CONFIG_DIR}/report/highlights/cpu-ranges.xml"/>
</usr_usage>
YesYes

Charts

See the Charts section