PyDocs

Nav

Debugging and profiling

SortKey

pstats

class (source)
  • SortKey(*values)
An enumeration.
Members of SortKey

c

CALLS
Sort by call count.
CUMULATIVE
Sort by cumulative time.

f

FILENAME
Sort by file name.

l

LINE
Sort by line number.

n

NAME
Sort by function name.
NFL
Sort by name, then file, then line number (numeric line sort).

p

PCALLS
Sort by primitive (non-recursive) call count.

s

STDNAME
Sort by standard name (string-based line sort).

t

TIME
Sort by internal time (time in function excluding subcalls).
0 Examples
No examples for pstats/SortKey.
See Also
No see-alsos for pstats/SortKey
0 Notes
No notes for SortKey