Functions | |
def | generate (data) |
def | is_asm (l) |
def | merge (callgrind_files, srcs) |
def | output (data) |
def | parse (filename, data, current) |
Variables | |
def | annotated = merge(cg_files, srcs) |
build_folder = sys.argv[2] | |
list | cg_files = [] |
cg_folder = sys.argv[1] | |
fn = os.path.join(cwd, f) | |
def | lcov = generate(annotated) |
string | SECTION_SEPERATOR = '-' * 80 |
list | srcs = [] |
def generate-asm-lcov.generate | ( | data | ) |
Parses the merged callgrind_annotate output |data| and generates execution counts for all annotated files.
Definition at line 94 of file generate-asm-lcov.py.
Returns whether a line should be considered to be an instruction.
Definition at line 33 of file generate-asm-lcov.py.
Calls callgrind_annotate over the set of callgrind output |callgrind_files| using the sources |srcs| and merges the results together.
Definition at line 50 of file generate-asm-lcov.py.
Takes a dictionary |data| of filenames and execution counts and generates a LCOV coverage output.
Definition at line 117 of file generate-asm-lcov.py.
Parses an annotated execution flow |data| from callgrind_annotate for source |filename| and updates the current execution counts from |current|.
Definition at line 60 of file generate-asm-lcov.py.
Definition at line 150 of file generate-asm-lcov.py.
generate-asm-lcov.build_folder = sys.argv[2] |
Definition at line 135 of file generate-asm-lcov.py.
list generate-asm-lcov.cg_files = [] |
Definition at line 137 of file generate-asm-lcov.py.
generate-asm-lcov.cg_folder = sys.argv[1] |
Definition at line 134 of file generate-asm-lcov.py.
generate-asm-lcov.fn = os.path.join(cwd, f) |
Definition at line 146 of file generate-asm-lcov.py.
Definition at line 151 of file generate-asm-lcov.py.
string generate-asm-lcov.SECTION_SEPERATOR = '-' * 80 |
Definition at line 31 of file generate-asm-lcov.py.
list generate-asm-lcov.srcs = [] |
Definition at line 143 of file generate-asm-lcov.py.