BigBrotherBot v1.8.0
System Development Information for the BigBrotherBot project.

b3::lib::runsnakerun::pstatsloader::PStatsLoader Class Reference

List of all members.

Public Member Functions

def __init__
def load
def find_root
def load_location

Public Attributes

 filename
 rows
 stats
 tree
 location_rows
 location_tree

Detailed Description

Load profiler statistic from 

Constructor & Destructor Documentation

def b3::lib::runsnakerun::pstatsloader::PStatsLoader::__init__ (   self,
  filenames 
)

Member Function Documentation

def b3::lib::runsnakerun::pstatsloader::PStatsLoader::find_root (   self,
  rows 
)
Attempt to find/create a reasonable root node from list/set of rows

rows -- key: PStatRow mapping

TODO: still need more robustness here, particularly in the case of
threaded programs.  Should be tracing back each row to root, breaking
cycles by sorting on cummulative time, and then collecting the traced
roots (or, if they are all on the same root, use that).
def b3::lib::runsnakerun::pstatsloader::PStatsLoader::load (   self,
  stats 
)
Build a squaremap-compatible model from a pstats class
def b3::lib::runsnakerun::pstatsloader::PStatsLoader::load_location (   self)
Build a squaremap-compatible model for location-based hierarchy

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties