CPU Timeline Report


The CPU Timeline Report measures a thread's CPU usage in milliseconds and analyze its impact on the performance of a particular job being run based on the Performance Profile you have created. 

The information in the report is displayed in two sections:

  • A line graph indicating the CPU usage of threads in a selected jvm environment.
  • A data table with information about thread activity.

To access the report

  1. In the myStrobe window, select a Performance Profile. For more information, see Creating performance profile.
  2. Click image-2024-1-12_12-5-56.pngand select Java >JVM Name-PID from the menu.
    Java_reports_menu_new_PID.png

  3. From the list of available Strobe for Java report, select the CPU Timeline Report.
    The report is generated in the form of a line graph.
  4. Click anywhere on the thread line in the plot area to view the CPU time.
  5. Click image-2024-1-12_12-45-35.pngat the bottom right of the window to view the data in a tabular form.
  6. Click list_closed.gif and list_open.gif to expand and collapse the data nodes.

Line graph

The line graph displays the CPU time occupied by individual threads in a specific jvm environment. 
CPU_timeline.png


In the line graph:

  • Profile Name is the Performance Profile that you selected while generating this report to measure the application run time.
  • Job Name is the name of the job in which the Java program is running and for which you requested the measurement session.
  • Initiated On is the time stamp when you started the measurement request.
  • Threads are the multiple run paths in the selected jvm environment. 
  • The x (horizontal) axis displays time stamps based on the specified time interval.
  • The y (vertical) axis is the amount of CPU time in milliseconds occupied by individual threads in a jvm.

You can perform the following actions on the line graph:

  • To view exact values at a data point, hover over that point.
  • To zoom in, click and drag the line at a data point. This will give you an enlarged view of the data point.
  • To zoom out, double-click the line.
  • To navigate through the legends to identify the thread IDs with their colors, use the scroll bar.
  • To create and save notes on the observations you make in the report, click Screenshot 2024-07-09 114301.jpg
  • To view all threads in the graph, including daemon threads, turn on the Show Daemon toggle key.

Data table

When you select a data point of a specific thread on the graph, the detailed thread activity is displayed in the data table against the corresponding thread ID.
CPU_timeline_threads.png

To view or hide details about a line in the thread table, click list_closed.gif and list_open.gif.

The data table consists of the following fields:

Field

Description

Thread Id

Displays unique thread IDs

Thread Name

Displays the names of threads occupied by the job class

Native Thread Id

Displays the unique identifier of a specific thread

Is Suspended

Indicates whether the threads are running or temporarily in a waiting state

Valid values are Yes and No

Is Daemon

Indicates whether the threads are daemon threads and running in the background.

Valid values are Yes and No

Blocked Object

Indicates whether there are objects that the thread is waiting to synchronize. A blocked object indicates high CPU usage

CPU Time (ms)

Displays the delta value of the difference between last and current Total CPU time occupied by a thread

Total CPU Time (ms)

Displays the cumulative CPU time in milliseconds occupied by individual threads in a jvm

Thread State

Indicates the current state of threads in the jvm environment. The valid values are:

  • NEW: The thread is newly created and yet to start running
  • RUNNABLE: The thread is ready to run
  • BLOCKED: The thread is waiting on a lock that is in use by other threads
  • WAITING: The thread is waiting for action in another thread to finish. The waiting thread then becomes runnable
  • TIMED_WAITING: The thread is waiting for a specified time period
  • TERMINATED: The thread has finished running and completed the action

Timestamp

Displays the date and time

Declaring Class

Displays the unique class name

Method Name

Displays the method in use

File Name

Displays the name of the file of the declared class

Line Number

Displays the line number corresponding to each step in the file

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*