Classes | |
class | Profile |
Functions | |
def | build_process_list |
def | find_and_write_html |
def | get_children |
def | handle_alarm |
def | read_procfs |
def | run_and_monitor |
Variables | |
ALARM_P_OBJECT = None | |
int | ALARM_TIMER = 1 |
tuple | args = parser.parse_args() |
tuple | log = logging.getLogger("mbProfile") |
string | LOG_FORMAT = '%(asctime)s: %(name)-20s - %(levelname)-8s - %(message)s' |
tuple | p = os.path.dirname(args.file) |
tuple | parser = argparse.ArgumentParser(description="Profile child processes and produce data for rss and such graphs.") |
def dqm-mbProfile.build_process_list | ( | ) |
Definition at line 56 of file dqm-mbProfile.py.
References read_procfs().
Referenced by get_children().
def dqm-mbProfile.find_and_write_html | ( | p, | |
args | |||
) |
Definition at line 244 of file dqm-mbProfile.py.
def dqm-mbProfile.get_children | ( | ppid | ) |
Select all processes which are descendant from ppid (exclusive).
Definition at line 65 of file dqm-mbProfile.py.
References bitset_utilities.append(), and build_process_list().
Referenced by dqm-mbProfile.Profile.update_proc().
def dqm-mbProfile.handle_alarm | ( | num, | |
frame | |||
) |
Definition at line 223 of file dqm-mbProfile.py.
def dqm-mbProfile.read_procfs | ( | ppath, | |
only_ppid = True |
|||
) |
Definition at line 20 of file dqm-mbProfile.py.
References SiPixelLorentzAngle_cfi.read, python.rootplot.root2matplotlib.replace(), and digitizers_cfi.strip.
Referenced by build_process_list().
def dqm-mbProfile.run_and_monitor | ( | args | ) |
dqm-mbProfile.ALARM_P_OBJECT = None |
Definition at line 221 of file dqm-mbProfile.py.
dqm-mbProfile.ALARM_TIMER = 1 |
Definition at line 220 of file dqm-mbProfile.py.
tuple dqm-mbProfile.args = parser.parse_args() |
Definition at line 297 of file dqm-mbProfile.py.
tuple dqm-mbProfile.log = logging.getLogger("mbProfile") |
Definition at line 17 of file dqm-mbProfile.py.
string dqm-mbProfile.LOG_FORMAT = '%(asctime)s: %(name)-20s - %(levelname)-8s - %(message)s' |
Definition at line 15 of file dqm-mbProfile.py.
tuple dqm-mbProfile.p = os.path.dirname(args.file) |
Definition at line 312 of file dqm-mbProfile.py.
tuple dqm-mbProfile.parser = argparse.ArgumentParser(description="Profile child processes and produce data for rss and such graphs.") |
Definition at line 290 of file dqm-mbProfile.py.