Table 16 Information in cstack Measurement Report Fields (Flat Profile) (continued)

Column

Wall-clock Samples

(Linux only)

Sample Hits Waiting

(HP-UX only)

Sample Hits Waiting

(Linux only)

Description

Total number of direct sample hits attributed to the given object.

Number of sample hits taken when a thread was waiting (divided into blocked and spinning) on a thread level blocking primitive (mutex, read/write lock, or condition variable) or process level blocking primitive (semaphore, message queue, socket, pipe, file descriptor).

Number of direct sample hits taken when a thread was waiting on a thread level blocking primitive (mutex, read/write lock, or condition variable) or process level blocking primitive (semaphore, message queue, socket, pipe, file descriptor).

Table 17 Information in cstack Measurement Report Fields (Blocking Primitives Profile)

Column

Description

% Total Hits Waiting

Percentage of total sample hits waiting (blocked or spinning) on a thread level blocking primitive

 

(mutex, read/write lock, or condition variable) or process level blocking primitive (semaphore,

 

message queue, socket, pipe, file descriptor).

Sample Hits Waiting

Sample hits taken when a thread was waiting (blocked or spinning) on a thread level blocking

 

primitive (mutex, read/write lock, or condition variable) or process level blocking primitive

 

(semaphore, message queue, socket, pipe, file descriptor).

Blocking Primitive

The name of the Blocking Primitive represented as <type>@{addressname}. The type can

 

be thread level blocking primitive mutexcond-varrwlockor inter process blocking primitive

 

sem_id (semaphore id) msgq_id (message queue id) sock_fd (socket descriptor)

 

regular_fd (regular file descriptor) char_dev_fd (character device file descriptor)

 

blk_dev_fd (block device file descriptor) pipe_fd (pipe descriptor) reg_sock_fd

 

(regular socket descriptor) stream_sock_fd (stream socket descriptor)

 

multi_file_desc (multiple descriptor numbers for select, poll), <name> is a symbol associated

 

with the primitive, and <address> is the primitive's address (shown when the address cannot

 

be resolved to a symbol.

Sample Hits for

Sample hits attributed to a thread that was holding a primitive (for example, a mutex) when

Holder

other threads were waiting on the same primitive.

--For Waiter

Sample hits taken on a waiting thread that is blocked on the primitive held by the Holder thread

 

(HP-UX only)

(Marked by kernel thread ID and hot call path index.)

Callpath Index

Holder thread and waiter threads are identified by an index into Hot Call Path section.

Holder

 

--Waiter

 

(HP-UX only)

 

Holder's Kernel

Holder thread's kernel thread suffixed with the the name of the routine that the thread will execute

Thread ID

once it is created.

(HP-UX only)

 

Table 18 Information in cstack Measurement Report Fields (Hot Call Paths Profile)

Column

%Run + Block Hits (HP-UX only)

%Run Hits Only (HP-UX only)

%Block Hits Only (HP-UX only)

Total Hits In Only

(Linux only)

Description

Percentage of total sample hits directly in the call path. This represents the percentage of the total real time attributable to the call path.

Percentage of run hits directly in the call path. This represents the percentage of the total real time attributable to the call path that was in a run state.

Percentage of blocked hits directly in the call path. This represents the percentage of the total real time attributable to the call path that was in a blocked state.

Percentage of total sample hits directly in the call path. This represents the percentage of the total real time attributable to the call path.

182 Descriptions of Measurement Reports

Page 182
Image 182
HP UX Caliper Software manual Column Description Total Hits Waiting, Message queue, socket, pipe, file descriptor