On this page
  1. pstats.SortKey
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

pstats.SortKey

Prev: pstats.FunctionProfile | Up: pstats | Next: pstats.Stats
Rel: pstats.FunctionProfile, pstats.Stats, pstats.StatsProfile
Ref: docs.python.org — pstats.SortKey
Tags: #public #python3 #stdlib #pstats


Import

import pstats
from pstats import SortKey

Signature & Overview

pstats.SortKey(*values)

An enumeration.

Methods & Attributes

Usage

import pstats

assert pstats.SortKey.CUMULATIVE == "cumulative"
assert pstats.SortKey.TIME == "tottime"

Gotchas

REPL Inspect

from pstats import SortKey
help(SortKey)

Linked from

Related notes