File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -479,15 +479,19 @@ incomplete_ranges(#{}, complete) ->
479479incomplete_ranges (#{pid_states := States }, Output ) when Output =:= all ; Output =:= incomplete ->
480480 lists :sort ([Range || #{trace := Range } <- maps :values (States )]).
481481
482+ % % @doc Prints sorted function call statistics for the selected traces from `tab()'.
483+ % %
484+ % % The statistics are sorted according to {@link acc_time()}, descending.
485+ % % @see sorted_call_stat/1
486+ % % @see print_sorted_call_stat/2
482487-spec print_sorted_call_stat (selector (_ )) -> ok .
483488print_sorted_call_stat (KeyF ) ->
484489 pretty_print_tuple_list (sorted_call_stat (KeyF )).
485490
486491% % @doc Prints sorted function call statistics for the selected traces from `tab()'.
487492% %
488- % % The statistics are sorted according to {@link acc_time()}, descending.
489- % % Only top `Limit' rows are printed.
490- % % @see sorted_call_stat/1
493+ % % The results can be sorted by call count or acc/own time, descending or ascending.
494+ % % @see sorted_call_stat/2
491495-spec print_sorted_call_stat (selector (_ ), sorted_call_stat_options ()) -> ok .
492496print_sorted_call_stat (KeyF , Options ) ->
493497 pretty_print_tuple_list (sorted_call_stat (KeyF , Options )).
You can’t perform that action at this time.
0 commit comments