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
- In the myStrobe window, select a Performance Profile. For more information, see Creating performance profile.
- Click
and select Java >JVM Name-PID from the menu.
- 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. - Click anywhere on the thread line in the plot area to view the CPU time.
- Click
at the bottom right of the window to view the data in a tabular form.
- Click and
Line graph
The line graph displays the CPU time occupied by individual threads in a specific jvm environment.
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
.
- 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.
To view or hide details about a line in the thread table, click
andThe 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:
|
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 |