HP Caliper User's Guide

Instruction
-------------------------------------------------------------------------------------------------------------
38.78 [(No source information) libpthread.so.1::___lwp_wait_sys, 0x4093be0]
19 0 19 0 0
Function Totals
----------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------
2.04 [enh_thr_mutex1::main, 0x4000d50, enh_thr_mutex1.c]
1 1 0 0 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 */
1 1 0 0 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]
Hot Call Paths (Thread 6065593@main)
----------------------------------------------
--% Total Hits In Only--
Run + Run Block
Block Hits Hits Name
Hits Only Only
----------------------------------------------
95.0 0.0 95.0 libpthread.so.1::___lwp_wait_sys [3]
libpthread.so.1::_lwp_wait [4]
libpthread.so.1::__vp_join [5]
libpthread.so.1::pthread_join [6]
enh_thr_mutex1::main [7]
dld.so::main_opd_entry [1]
----------------------------------------------
5.0 5.0 0.0 enh_thr_mutex1::main [7]
dld.so::main_opd_entry [1]
----------------------------------------------
[Minimum function entries: 5, percent cutoff: 1.00, cumulative percent cutoff: 100.00]
Call Graph (Thread 6065593@main)
--------------------------------------------------------------------
--% Total Hits In / Under-- % Func Hits
Run + Run Block Under Parent Parents
Index Block Hits Hits In Func Name Index
Hits Only Only In Children Children
--------------------------------------------------------------------
100.00 *ROOT* [2]
[1] 100.0 5.0 95.0 0.00 dld.so::main_opd_entry [1]
100.00 enh_thr_mutex1::main [7]
--------------------------------------------------------------------
[2] 100.0 5.0 95.0 0.00 *ROOT* [2]
100.00 dld.so::main_opd_entry [1]
178 Producing a Sampled Call Stack Profile Analysis