Lines Matching refs:accumulate
6 # A script to accumulate values from the 'dmprof cat' command into CSV or else.
9 # ./accumulate.py -f <format> -t <template-name> < input.json > output
12 # accumulate.py dumps a similar file to "dmprof csv|json". If "tree" is given,
13 # accumulate.py dumps a human-readable breakdown tree.
26 LOGGER = logging.getLogger('dmprof-accumulate')
44 def accumulate(template, snapshot, units_dict, target_units):
83 category_tree[rule], accounted_total, subremainder_units = accumulate(
97 category_tree[rule], accounted_total, _ = accumulate(
203 """Does the main work: accumulate for every snapshot and print a result."""
236 category_tree, _, _ = accumulate(