HP Caliper User's Guide
IP % of Clock Hits Thread
Samples Total Samples Waiting ID
---------------------------------------------------------
48.78 48.78 20 0 31021@main
26.83 75.61 11 1 31024@start_routine
24.39 100.00 10 0 31023@start_routine
---------------------------------------------------------
100.00 100.00 41 1 Total
---------------------------------------------------------
Load Module Summary (All Threads)
--------------------------------------------------------------
% Total Cumulat Wall- Sample
IP % of Clock Hits
Samples Total Samples Waiting Load Module
--------------------------------------------------------------
78.05 78.05 32 1 *kernel gateway*
21.95 100.00 9 0 enh_thr_mutex1
--------------------------------------------------------------
100.00 100.00 41 1 Total
--------------------------------------------------------------
Function Summary (All Threads)
----------------------------------------------------------------------------------------
% Total Cumulat Wall- Sample
IP % of Clock Hits
Samples Total Samples Waiting Function File
----------------------------------------------------------------------------------------
78.05 78.05 32 1 *kernel gateway*
21.95 100.00 9 0 enh_thr_mutex1::main enh_thr_mutex1.c
----------------------------------------------------------------------------------------
[Minimum function entries: 5, percent cutoff: 0.10, cumulative percent cutoff: 100.00]
Function Details (All Threads)
------------------------------------------------------------------
% Total Wall- Sample Line|
IP Clock Hits Slot| >Statement|
Samples Samples Waiting Col,Offset Instruction
------------------------------------------------------------------
78.05 [(No source information) *kernel gateway*, 0xa000000000000000]
32 1 Function Totals
----------------------------------------------------------
------------------------------------------------------------------
21.95 [enh_thr_mutex1::main, 0x4000000000000cf0, enh_thr_mutex1.c]
9 0 26 Function Totals
----------------------------------------------------------
[/home/bindu/TESTS/enh_thr_mutex1.c]
67 > ret_val = pthread_create(&tid1,
(pthread_attr_t *)NULL,
68 > (void *(*)())start_routine, NULL);
69 > check_error(ret_val, "pthread_create 1
failed");
70 >
71 > /* wait till first thread is created
*/
9 0 72 > for ( i=0; i<100000000; i++);
73 >
74 > ret_val = pthread_create(&tid2,
(pthread_attr_t *)NULL,
75 > (void *(*)())start_routine, NULL);
76 > check_error(ret_val, "pthread_create 2
failed");
77 >
------------------------------------------------------------------
[Minimum function entries: 0, percent cutoff: 1.00, cumulative percent cutoff: 100.00]
Blocking Primitives Summary (All Threads)
-----------------------------------------------------
% Total Sample Sample Sample
Hits Hits Hits Hits Blocking
Waiting Waiting Spinning Blocked Primitive
-----------------------------------------------------
2.44 1 1 0 mutex@mtx1
-----------------------------------------------------
184 Producing a Sampled Call Stack Profile Analysis