Records

class pikos.monitors.records.FunctionRecord[source]

Bases: pikos.monitors.records.FunctionRecord

The record tuple for function events.

Field Description
index The current index of the record.
type The type of the event (see Python trace method).
function The name of the function.
lineNo The line number when the function is defined.
filename The filename where the function is defined.
header = u'{:<8} {:<11} {:<30} {:<5} {}'
line = u'{:<8} {:<11} {:<30} {:<5} {}'

class pikos.monitors.records.LineRecord[source]

Bases: pikos.monitors.records.LineRecord

The record for line trace events.

Field Description
index The current index of the record.
function The name of the function.
lineNo The line number when the function is defined.
line The line that is going to be executed.
filename The filename where the function is defined.
header = u'{:<12} {:<50} {:<7} {} -- {}'
line = u'{:<12} {:<50} {:<7} {} -- {}'

class pikos.monitors.records.FunctionMemoryRecord[source]

Bases: pikos.monitors.records.FunctionMemoryRecord

The record tuple for memory usage on function events.

Field Description
index The current index of the record.
type The type of the event (see Python trace method).
function The name of the function.
RSS The resident memory counter.
VMS The virtual memory counter.
lineNo The line number when the function is defined.
filename The filename where the function is defined.
header = u'{:<8} | {:<11} | {:<12} | {:<15} | {:<15} | {:>6} | {}'
line = u'{:>8} | {:<11} | {:<12} | {:>15} | {:>15} | {:>6} | {}'

class pikos.monitors.records.LineMemoryRecord[source]

Bases: pikos.monitors.records.LineMemoryRecord

The record tuple for memory usage on line events.

Field Description
index The current index of the record.
function The name of the function
RSS The resident memory counter.
VMS The virtual memory counter.
lineNo The line number when the function is defined.
filename The filename where the function is defined.
header = u'{:^12} | {:^30} | {:^7} | {:^15} | {:^15} | {} {}'
line = u'{:<12} | {:<30} | {:<7} | {:>15} | {:>15} | {} {}'