=== source code for fprof_SUITE:spawn_simple/1
=== Test case started with:
fprof_SUITE:spawn_simple([{watchdog,<0.1532.0>},
{tc_logfile,"/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_22.55.34/tests.tools_test.logs/run.2014-01-03_22.56.14/fprof_suite.spawn_simple.html"},
{tc_group_properties,[]},
{tc_group_path,[]},
{data_dir,"/home/pi/R16B03/otp-support/release/tests/tools_test/fprof_SUITE_data/"},
{priv_dir,"/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_22.55.34/tests.tools_test.logs/run.2014-01-03_22.56.14/log_private/"},
{nodenames,[]}])
=== Current directory is "/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_22.55.34"
=== Started at 2014-01-03 22:58:27
Reading trace data...
.
.
.
.
.
.
.
End of trace!
Processing data...
Creating output...
%% Analysis results:
{ analysis_options,
[{callers, true},
{sort, acc},
{totals, false},
{details, true}]}.
% CNT ACC OWN
[{ totals, 4054, 230.828, 216.367}]. %%%
% CNT ACC OWN
[{ "<0.1580.0>", 2024,undefined, 117.313}, %%
{ spawned_by, "<0.1574.0>"},
{ spawned_as, {erlang,apply,["#Fun",[]]}},
{ initial_calls, [{erlang,apply,2},
{fprof_SUITE,'-spawn_simple_test/3-fun-0-',4}]}].
{[{undefined, 1, 226.603, 0.080}],
{ {erlang,apply,2}, 1, 226.603, 0.080}, %
[{{fprof_SUITE,'-spawn_simple_test/3-fun-0-',4}, 1, 226.144, 0.898},
{suspend, 1, 0.379, 0.000}]}.
{[{{erlang,apply,2}, 1, 226.144, 0.898}],
{ {fprof_SUITE,'-spawn_simple_test/3-fun-0-',4}, 1, 226.144, 0.898}, %
[{{fprof_SUITE,seq,3}, 1, 225.246, 38.323}]}.
{[{{fprof_SUITE,'-spawn_simple_test/3-fun-0-',4}, 1, 225.246, 38.323},
{{fprof_SUITE,seq,3}, 999, 0.000, 45.423}],
{ {fprof_SUITE,seq,3}, 1000, 225.246, 83.746}, %
[{suspend, 7, 106.755, 0.000},
{{fprof_SUITE,'-spawn_simple/1-fun-0-',1}, 999, 33.955, 31.107},
{garbage_collect, 8, 0.790, 0.790},
{{fprof_SUITE,seq,3}, 999, 0.000, 45.423}]}.
{[{{fprof_SUITE,seq,3}, 7, 106.755, 0.000},
{{fprof_SUITE,'-spawn_simple/1-fun-0-',1}, 2, 2.156, 0.000},
{{erlang,apply,2}, 1, 0.379, 0.000}],
{ suspend, 10, 109.290, 0.000}, %
[ ]}.
{[{{fprof_SUITE,seq,3}, 999, 33.955, 31.107}],
{ {fprof_SUITE,'-spawn_simple/1-fun-0-',1}, 999, 33.955, 31.107}, %
[{suspend, 2, 2.156, 0.000},
{garbage_collect, 5, 0.692, 0.692}]}.
{[{{fprof_SUITE,seq,3}, 8, 0.790, 0.790},
{{fprof_SUITE,'-spawn_simple/1-fun-0-',1}, 5, 0.692, 0.692}],
{ garbage_collect, 13, 1.482, 1.482}, %
[ ]}.
{[ ],
{ undefined, 0, 0.000, 0.000}, %
[{{erlang,apply,2}, 1, 226.603, 0.080}]}.
% CNT ACC OWN
[{ "<0.1581.0>", 2016,undefined, 97.464}, %%
{ spawned_by, "<0.1574.0>"},
{ spawned_as, {erlang,apply,["#Fun",[]]}},
{ initial_calls, [{erlang,apply,2},
{fprof_SUITE,'-spawn_simple_test/3-fun-1-',4}]}].
{[{undefined, 1, 229.807, 0.079}],
{ {erlang,apply,2}, 1, 229.807, 0.079}, %
[{{fprof_SUITE,'-spawn_simple_test/3-fun-1-',4}, 1, 125.541, 0.155},
{suspend, 1, 104.187, 0.000}]}.
{[{{erlang,apply,2}, 1, 104.187, 0.000},
{{fprof_SUITE,seq_r,4}, 4, 25.282, 0.000},
{{fprof_SUITE,'-spawn_simple/1-fun-0-',1}, 3, 2.874, 0.000}],
{ suspend, 8, 132.343, 0.000}, %
[ ]}.
{[{{erlang,apply,2}, 1, 125.541, 0.155}],
{ {fprof_SUITE,'-spawn_simple_test/3-fun-1-',4}, 1, 125.541, 0.155}, %
[{{fprof_SUITE,seq_r,3}, 1, 125.386, 0.035}]}.
{[{{fprof_SUITE,'-spawn_simple_test/3-fun-1-',4}, 1, 125.386, 0.035}],
{ {fprof_SUITE,seq_r,3}, 1, 125.386, 0.035}, %
[{{fprof_SUITE,seq_r,4}, 1, 125.351, 0.066}]}.
{[{{fprof_SUITE,seq_r,3}, 1, 125.351, 0.066},
{{fprof_SUITE,seq_r,4}, 999, 0.000, 66.042}],
{ {fprof_SUITE,seq_r,4}, 1000, 125.351, 66.108}, %
[{{fprof_SUITE,'-spawn_simple/1-fun-0-',1}, 999, 33.657, 30.239},
{suspend, 4, 25.282, 0.000},
{garbage_collect, 3, 0.304, 0.304},
{{fprof_SUITE,seq_r,4}, 999, 0.000, 66.042}]}.
{[{{fprof_SUITE,seq_r,4}, 999, 33.657, 30.239}],
{ {fprof_SUITE,'-spawn_simple/1-fun-0-',1}, 999, 33.657, 30.239}, %
[{suspend, 3, 2.874, 0.000},
{garbage_collect, 3, 0.544, 0.544}]}.
{[{{fprof_SUITE,'-spawn_simple/1-fun-0-',1}, 3, 0.544, 0.544},
{{fprof_SUITE,seq_r,4}, 3, 0.304, 0.304}],
{ garbage_collect, 6, 0.848, 0.848}, %
[ ]}.
{[ ],
{ undefined, 0, 0.000, 0.000}, %
[{{erlang,apply,2}, 1, 229.807, 0.079}]}.
% CNT ACC OWN
[{ "<0.1574.0>", 14,undefined, 1.590}]. %%
{[{undefined, 0, 230.665, 0.040}],
{ {fprof_SUITE,spawn_simple,1}, 0, 230.665, 0.040}, %
[{{fprof,just_call,2}, 0, 230.356, 0.044},
{{fprof,trace,1}, 1, 0.269, 0.046}]}.
{[{{fprof_SUITE,spawn_simple,1}, 0, 230.356, 0.044},
{undefined, 0, 0.163, 0.108},
{{fprof,call,1}, 1, 0.118, 0.081}],
{ {fprof,just_call,2}, 1, 230.637, 0.233}, %
[{{fprof_SUITE,spawn_simple_test,3}, 1, 230.312, 0.144},
{{erlang,demonitor,1}, 1, 0.055, 0.055},
{{erlang,monitor,2}, 1, 0.037, 0.037},
{suspend, 1, 0.000, 0.000}]}.
{[{{fprof,just_call,2}, 1, 230.312, 0.144}],
{ {fprof_SUITE,spawn_simple_test,3}, 1, 230.312, 0.144}, %
[{suspend, 1, 229.783, 0.000},
{garbage_collect, 1, 0.545, 0.545},
{{erlang,spawn_link,1}, 2, 0.385, 0.135}]}.
{[{{fprof_SUITE,spawn_simple_test,3}, 1, 229.783, 0.000},
{{fprof,just_call,2}, 1, 0.000, 0.000}],
{ suspend, 2, 229.783, 0.000}, %
[ ]}.
{[{{fprof_SUITE,spawn_simple_test,3}, 1, 0.545, 0.545}],
{ garbage_collect, 1, 0.545, 0.545}, %
[ ]}.
{[{{fprof_SUITE,spawn_simple_test,3}, 2, 0.385, 0.135}],
{ {erlang,spawn_link,1}, 2, 0.385, 0.135}, %
[{{erlang,spawn_link,3}, 2, 0.250, 0.250}]}.
{[{{fprof_SUITE,spawn_simple,1}, 1, 0.269, 0.046}],
{ {fprof,trace,1}, 1, 0.269, 0.046}, %
[{{fprof,call,1}, 1, 0.223, 0.073}]}.
{[{{erlang,spawn_link,1}, 2, 0.250, 0.250}],
{ {erlang,spawn_link,3}, 2, 0.250, 0.250}, %
[ ]}.
{[{{fprof,trace,1}, 1, 0.223, 0.073}],
{ {fprof,call,1}, 1, 0.223, 0.073}, %
[{{fprof,just_call,2}, 1, 0.118, 0.081},
{{erlang,whereis,1}, 1, 0.032, 0.032}]}.
{[{{fprof,just_call,2}, 1, 0.055, 0.055}],
{ {erlang,demonitor,1}, 1, 0.055, 0.055}, %
[ ]}.
{[{{fprof,just_call,2}, 1, 0.037, 0.037}],
{ {erlang,monitor,2}, 1, 0.037, 0.037}, %
[ ]}.
{[{{fprof,call,1}, 1, 0.032, 0.032}],
{ {erlang,whereis,1}, 1, 0.032, 0.032}, %
[ ]}.
{[ ],
{ undefined, 0, 0.000, 0.000}, %
[{{fprof_SUITE,spawn_simple,1}, 0, 230.665, 0.040},
{{fprof,just_call,2}, 0, 0.163, 0.108}]}.
Done!
Processing data...
Creating output...
Done!
[{analysis_options,[{callers,true},{sort,acc},{totals,false},{details,true}]},
[{totals,4054,230828,216367}],
[{"<0.1580.0>",2024,undefined,117313},
{spawned_by,"<0.1574.0>"},
{spawned_as,{erlang,apply,["#Fun",[]]}},
{initial_calls,[{erlang,apply,2},
{fprof_SUITE,'-spawn_simple_test/3-fun-0-',4}]}],
[{"<0.1581.0>",2016,undefined,97464},
{spawned_by,"<0.1574.0>"},
{spawned_as,{erlang,apply,["#Fun",[]]}},
{initial_calls,[{erlang,apply,2},
{fprof_SUITE,'-spawn_simple_test/3-fun-1-',4}]}],
[{"<0.1574.0>",14,undefined,1590}]]
[{{"<0.1574.0>",{erlang,whereis,1}},
{[{{fprof,call,1},1,32,32}],{{erlang,whereis,1},1,32,32},[]}},
{{"<0.1574.0>",undefined},
{[],
{undefined,0,0,0},
[{{fprof_SUITE,spawn_simple,1},0,230665,40},
{{fprof,just_call,2},0,163,108}]}},
{{"<0.1574.0>",{erlang,demonitor,1}},
{[{{fprof,just_call,2},1,55,55}],{{erlang,demonitor,1},1,55,55},[]}},
{{"<0.1574.0>",{fprof,call,1}},
{[{{fprof,trace,1},1,223,73}],
{{fprof,call,1},1,223,73},
[{{fprof,just_call,2},1,118,81},{{erlang,whereis,1},1,32,32}]}},
{{"<0.1581.0>",{fprof_SUITE,'-spawn_simple/1-fun-0-',1}},
{[{{fprof_SUITE,seq_r,4},999,33657,30239}],
{{fprof_SUITE,'-spawn_simple/1-fun-0-',1},999,33657,30239},
[{suspend,3,2874,0},{garbage_collect,3,544,544}]}},
{{"<0.1574.0>",{fprof,trace,1}},
{[{{fprof_SUITE,spawn_simple,1},1,269,46}],
{{fprof,trace,1},1,269,46},
[{{fprof,call,1},1,223,73}]}},
{{"<0.1574.0>",garbage_collect},
{[{{fprof_SUITE,spawn_simple_test,3},1,545,545}],
{garbage_collect,1,545,545},
[]}},
{{"<0.1580.0>",{erlang,apply,2}},
{[{undefined,1,226603,80}],
{{erlang,apply,2},1,226603,80},
[{{fprof_SUITE,'-spawn_simple_test/3-fun-0-',4},1,226144,898},
{suspend,1,379,0}]}},
{{"<0.1581.0>",{fprof_SUITE,seq_r,3}},
{[{{fprof_SUITE,'-spawn_simple_test/3-fun-1-',4},1,125386,35}],
{{fprof_SUITE,seq_r,3},1,125386,35},
[{{fprof_SUITE,seq_r,4},1,125351,66}]}},
{{"<0.1580.0>",{fprof_SUITE,seq,3}},
{[{{fprof_SUITE,'-spawn_simple_test/3-fun-0-',4},1,225246,38323},
{{fprof_SUITE,seq,3},999,0,45423}],
{{fprof_SUITE,seq,3},1000,225246,83746},
[{suspend,7,106755,0},
{{fprof_SUITE,'-spawn_simple/1-fun-0-',1},999,33955,31107},
{garbage_collect,8,790,790},
{{fprof_SUITE,seq,3},999,0,45423}]}},
{{"<0.1581.0>",garbage_collect},
{[{{fprof_SUITE,'-spawn_simple/1-fun-0-',1},3,544,544},
{{fprof_SUITE,seq_r,4},3,304,304}],
{garbage_collect,6,848,848},
[]}},
{{"<0.1581.0>",{fprof_SUITE,'-spawn_simple_test/3-fun-1-',4}},
{[{{erlang,apply,2},1,125541,155}],
{{fprof_SUITE,'-spawn_simple_test/3-fun-1-',4},1,125541,155},
[{{fprof_SUITE,seq_r,3},1,125386,35}]}},
{{"<0.1580.0>",garbage_collect},
{[{{fprof_SUITE,seq,3},8,790,790},
{{fprof_SUITE,'-spawn_simple/1-fun-0-',1},5,692,692}],
{garbage_collect,13,1482,1482},
[]}},
{{"<0.1580.0>",suspend},
{[{{fprof_SUITE,seq,3},7,106755,0},
{{fprof_SUITE,'-spawn_simple/1-fun-0-',1},2,2156,0},
{{erlang,apply,2},1,379,0}],
{suspend,10,109290,0},
[]}},
{{"<0.1574.0>",{erlang,spawn_link,3}},
{[{{erlang,spawn_link,1},2,250,250}],{{erlang,spawn_link,3},2,250,250},[]}},
{{"<0.1574.0>",{fprof_SUITE,spawn_simple,1}},
{[{undefined,0,230665,40}],
{{fprof_SUITE,spawn_simple,1},0,230665,40},
[{{fprof,just_call,2},0,230356,44},{{fprof,trace,1},1,269,46}]}},
{{"<0.1574.0>",{fprof_SUITE,spawn_simple_test,3}},
{[{{fprof,just_call,2},1,230312,144}],
{{fprof_SUITE,spawn_simple_test,3},1,230312,144},
[{suspend,1,229783,0},
{garbage_collect,1,545,545},
{{erlang,spawn_link,1},2,385,135}]}},
{{"<0.1580.0>",{fprof_SUITE,'-spawn_simple/1-fun-0-',1}},
{[{{fprof_SUITE,seq,3},999,33955,31107}],
{{fprof_SUITE,'-spawn_simple/1-fun-0-',1},999,33955,31107},
[{suspend,2,2156,0},{garbage_collect,5,692,692}]}},
{{"<0.1574.0>",{erlang,spawn_link,1}},
{[{{fprof_SUITE,spawn_simple_test,3},2,385,135}],
{{erlang,spawn_link,1},2,385,135},
[{{erlang,spawn_link,3},2,250,250}]}},
{{"<0.1574.0>",{fprof,just_call,2}},
{[{{fprof_SUITE,spawn_simple,1},0,230356,44},
{undefined,0,163,108},
{{fprof,call,1},1,118,81}],
{{fprof,just_call,2},1,230637,233},
[{{fprof_SUITE,spawn_simple_test,3},1,230312,144},
{{erlang,demonitor,1},1,55,55},
{{erlang,monitor,2},1,37,37},
{suspend,1,0,0}]}},
{{"<0.1580.0>",{fprof_SUITE,'-spawn_simple_test/3-fun-0-',4}},
{[{{erlang,apply,2},1,226144,898}],
{{fprof_SUITE,'-spawn_simple_test/3-fun-0-',4},1,226144,898},
[{{fprof_SUITE,seq,3},1,225246,38323}]}},
{{"<0.1581.0>",suspend},
{[{{erlang,apply,2},1,104187,0},
{{fprof_SUITE,seq_r,4},4,25282,0},
{{fprof_SUITE,'-spawn_simple/1-fun-0-',1},3,2874,0}],
{suspend,8,132343,0},
[]}},
{{"<0.1581.0>",{fprof_SUITE,seq_r,4}},
{[{{fprof_SUITE,seq_r,3},1,125351,66},{{fprof_SUITE,seq_r,4},999,0,66042}],
{{fprof_SUITE,seq_r,4},1000,125351,66108},
[{{fprof_SUITE,'-spawn_simple/1-fun-0-',1},999,33657,30239},
{suspend,4,25282,0},
{garbage_collect,3,304,304},
{{fprof_SUITE,seq_r,4},999,0,66042}]}},
{{"<0.1581.0>",{erlang,apply,2}},
{[{undefined,1,229807,79}],
{{erlang,apply,2},1,229807,79},
[{{fprof_SUITE,'-spawn_simple_test/3-fun-1-',4},1,125541,155},
{suspend,1,104187,0}]}},
{{"<0.1580.0>",undefined},
{[],{undefined,0,0,0},[{{erlang,apply,2},1,226603,80}]}},
{{"<0.1581.0>",undefined},
{[],{undefined,0,0,0},[{{erlang,apply,2},1,229807,79}]}},
{{"<0.1574.0>",{erlang,monitor,2}},
{[{{fprof,just_call,2},1,37,37}],{{erlang,monitor,2},1,37,37},[]}},
{{"<0.1574.0>",suspend},
{[{{fprof_SUITE,spawn_simple_test,3},1,229783,0},
{{fprof,just_call,2},1,0,0}],
{suspend,2,229783,0},
[]}}]
[{analysis_options,[{callers,true},{sort,acc},{totals,false},{details,true}]},
[{totals,4054,230828,216367}],
[{"<0.1580.0>",2024,undefined,117313},
{spawned_by,"<0.1574.0>"},
{spawned_as,{erlang,apply,["#Fun",[]]}},
{initial_calls,[{erlang,apply,2},
{fprof_SUITE,'-spawn_simple_test/3-fun-0-',4}]}],
[{"<0.1581.0>",2016,undefined,97464},
{spawned_by,"<0.1574.0>"},
{spawned_as,{erlang,apply,["#Fun",[]]}},
{initial_calls,[{erlang,apply,2},
{fprof_SUITE,'-spawn_simple_test/3-fun-1-',4}]}],
[{"<0.1574.0>",14,undefined,1590}]]
"<0.1574.0>" "<0.1580.0>" "<0.1581.0>"
ts:230828, fprof:362530, bare:3108.
=== Ended at 2014-01-03 22:58:36
=== successfully completed test case
=== returned value = {comment,["116.64414414414415",32,116,105,109,101,115,32,
115,108,111,119,101,114]}
Test run history
| Top level test index