Lines Matching refs:sort
66 # - --sort=D,C
74 # but we have to use @sort_order and @show_order below to handle the --sort and
118 # Thresholds, one for each sort event (or default to 1 if no sort events
151 --sort=A,B,C sort columns by events A,B,C [event column order]
153 the counts of the primary sort event [$default_threshold]
195 # --sort=A,B,C
197 # --sort=A:99,B:95,C:90. These will override any --threshold
199 } elsif ($arg =~ /^--sort=(.*)$/) {
333 # value is N, which is useful for handling --show/--sort options below.
360 # Do as for --show, but if no --sort arg given, default to sorting by
361 # column order (ie. first column event is primary sort key, 2nd column is
366 die("--sort event `$sort_event' did not appear in input\n");
375 # If multiple threshold args weren't given via --sort, stick in the single
377 # the primary sort event, and 0% for the rest.
463 print("Event sort order: @sort_events\n");
495 # Iterate through sort events (eg. 3,2); return result if two are different
503 my $cmp = abs($y) <=> abs($x); # reverse sort of absolute size
599 # Sort function names into order dictated by --sort option.
600 @fn_fullnames = sort {
777 # Numeric, not lexicographic sort!
778 my @line_nums = sort {$a <=> $b} keys %$src_file_CCs;