mozbuild.analyze package

Submodules

mozbuild.analyze.graph module

class mozbuild.analyze.graph.Graph(path=None, connect=None)

Bases: object

add_node(k, v)
close()
file_summaries(files)
get_cost_dict()
get_id(filepath)
get_node(node_id)
nodes
populate()
query(q)
query_arg(q, arg)
table_check()
class mozbuild.analyze.graph.Node(graph, node_id)

Bases: object

calculate_mtime()
get_cmd_ids()
get_cmd_nodes()
get_path(graph)
num_cmds

mozbuild.analyze.hg module

class mozbuild.analyze.hg.Push(pid, p_dict)

Bases: object

class mozbuild.analyze.hg.Pushlog(days)

Bases: object

get_pids()
make_pushes()
class mozbuild.analyze.hg.Report(days, path=None, cost_dict=None)

Bases: object

cut(size, lst)
generate_output(format, limit, dst)
get_cost_dict(path, cost_dict)
get_sorted_report()
organize_data()
mozbuild.analyze.hg.collect_data(session, date)
mozbuild.analyze.hg.get_data(epoch)
mozbuild.analyze.hg.get_lastpid(session)
mozbuild.analyze.hg.get_pushlog_chunk(session, start, end)
mozbuild.analyze.hg.unix_epoch(date)
mozbuild.analyze.hg.unix_from_date(n, today)

Module contents