Function Details (Thread 31021@main)
% Total | Wall- | Sample | Line |
|
IP | Clock | Hits | Slot | >Statement |
Samples | Samples | Waiting | Col,Offset | Instruction |
26.83[(No source information) *kernel gateway*, 0xa000000000000000]
110Function 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]
Hot Call Paths (Thread 31021@main)
%Total Hits In
Only Name
55.0*kernel gateway* [5] libpthread.so.0::pthread_join [6] enh_thr_mutex1::main [1]
libc.so.6.1::__libc_start_main [2]
enh_thr_mutex1::_start [3]
45.0enh_thr_mutex1::main [1] libc.so.6.1::__libc_start_main [2]
enh_thr_mutex1::_start [3]
[Minimum function entries: 5, percent cutoff: 1.00, cumulative percent cutoff: 100.00]
Call Graph (Thread 31021@main)
| % Total | % Func Hits |
|
|
| Hits | Under Parent |
| Parents |
Index | In / | In Func | Name | Index |
| Under | In Children |
| Children |
|
| 100.00 |
| libc.so.6.1::__libc_start_main [2] |
[1] | 100.0 | 45.00 | enh_thr_mutex1::main [1] |
55.00libpthread.so.0::pthread_join [6]
|
| 100.00 | enh_thr_mutex1::_start [3] |
|
[2] | 100.0 | 0.00 | libc.so.6.1::__libc_start_main | [2] |
100.00enh_thr_mutex1::main [1]
|
| 100.00 | *ROOT* [4] |
[3] | 100.0 | 0.00 | enh_thr_mutex1::_start [3] |
100.00libc.so.6.1::__libc_start_main [2]
[4] | 100.0 | 0.00 | *ROOT* [4] |
100.00enh_thr_mutex1::_start [3]
|
| 100.00 | libpthread.so.0::pthread_join [6] |
[5] | 55.0 | 100.00 | *kernel gateway* [5] |
|
| 100.00 | enh_thr_mutex1::main [1] |
[6] | 55.0 | 0.00 | libpthread.so.0::pthread_join [6] |
100.00*kernel gateway* [5]
Function Indexes (Thread 31021@main) |
|
| |
Index | Name | Index | Name |
4 | *ROOT* | 5 | *kernel gateway* |
2 | __libc_start_main | 1 | main |
6 | pthread_join | 3 | _start |
Load Module Summary (Thread 31024@start_routine)
% Total | Cumulat | Wall- | Sample |
|
IP | % of | Clock | Hits |
|
Samples | Total | Samples | Waiting | Load Module |
146 Producing a Sampled Call Stack Profile Analysis