-usertime experiment -gprof
-------------------------------------------------------------------------
Butterfly function list, in descending order by inclusive time
-------------------------------------------------------------------------
attrib.% attrib.time incl.time caller (callsite) [index]
[index] incl.% incl.time self% self-time procedure [index]
attrib.% attrib.time incl.time callee (callsite) [index]
-------------------------------------------------------------------------
100.0% 9.030 9.030 main (@0x0b35c004; libftn.so: main.c, 97) [3]
[1] 100.0% 9.030 4.3% 0.390 ssdemo [1]
59.5% 5.370 5.370 sub1 (@0x10000ef0; prog.exe: program.f, 27) [4]
33.2% 3.000 3.000 sub3 (@0x10000f30; program.exe: program.f,33) [5]
1.3% 0.120 1.140 rand_ (@0x10000e20; program.exe: program.f, 21) [7]
1.3% 0.120 0.120 sub2 (@0x10000f14; program.exe: program.f, 31) [9]
0.3% 0.030 0.030 sstop (@0x10000f68; program.exe: program.f, 36)[17]
-------------------------------------------------------------------------
[2] 100.0% 9.030 0.0% 0.000 __start [2]
100.0% 9.030 9.030 main (@0x10000d68; program.exe: crt1text.s, 166)[3]
-------------------------------------------------------------------------
100.0% 9.030 9.030 start (@0x10000d68; program.exe: crt1text.s,166)[2]
[3] 100.0% 9.030 0.0% 0.000 main [3]
100.0% 9.030 9.030 ssdemo (@0x0b35c004; libftn.so: main.c, 97) [1]
-------------------------------------------------------------------------
59.5% 5.370 9.030 ssdemo (@0x10000ef0; program.exe: program.f, 27)[1]
[4] 59.5% 5.370 31.6% 2.850 sub1 [4]
27.9% 2.520 2.520 update_sum(@0x10001024;program.exe:program.f,51)[6]
-------------------------------------------------------------------------
33.2% 3.000 9.030 ssdemo (@0x10000f30; program.exe: program.f, 33)[1]
[5] 33.2% 3.000 21.9% 1.980 sub3 [5]
11.3% 1.020 1.140 rand_ (@0x10001470; program.exe: program.f, 124)[7]
-------------------------------------------------------------------------
27.9% 2.520 5.370 sub1 (@0x10001024; program.exe: program.f, 51) [4]
[6] 27.9% 2.520 27.9% 2.520 update_sum [6]
-------------------------------------------------------------------------
1.3% 0.120 9.030 ssdemo (@0x10000e20; program.exe: program.f, 21)[1]
11.3% 1.020 3.000 sub3 (@0x10001470; program.exe: program.f, 124) [5]
[7] 12.6% 1.140 5.3% 0.480 rand_ [7]
7.3% 0.660 0.660 irand_ (@0x0b340f6c; libftn.so: rand_.c, 69) [8]
-------------------------------------------------------------------------
7.3% 0.660 1.140 rand_ (@0x0b340f6c; libftn.so: rand_.c, 69) [7]
[8] 7.3% 0.660 7.3% 0.660 irand_ [8]
-------------------------------------------------------------------------