Functions | Variables
generate-asm-lcov Namespace Reference

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 = []
 

Function Documentation

◆ generate()

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.

◆ is_asm()

def generate-asm-lcov.is_asm (   l)
Returns whether a line should be considered to be an instruction.

Definition at line 33 of file generate-asm-lcov.py.

◆ merge()

def generate-asm-lcov.merge (   callgrind_files,
  srcs 
)
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.

◆ output()

def generate-asm-lcov.output (   data)
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.

◆ parse()

def generate-asm-lcov.parse (   filename,
  data,
  current 
)
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.

Variable Documentation

◆ annotated

def generate-asm-lcov.annotated = merge(cg_files, srcs)

Definition at line 150 of file generate-asm-lcov.py.

◆ build_folder

generate-asm-lcov.build_folder = sys.argv[2]

Definition at line 135 of file generate-asm-lcov.py.

◆ cg_files

list generate-asm-lcov.cg_files = []

Definition at line 137 of file generate-asm-lcov.py.

◆ cg_folder

generate-asm-lcov.cg_folder = sys.argv[1]

Definition at line 134 of file generate-asm-lcov.py.

◆ fn

generate-asm-lcov.fn = os.path.join(cwd, f)

Definition at line 146 of file generate-asm-lcov.py.

◆ lcov

def generate-asm-lcov.lcov = generate(annotated)

Definition at line 151 of file generate-asm-lcov.py.

◆ SECTION_SEPERATOR

string generate-asm-lcov.SECTION_SEPERATOR = '-' * 80

Definition at line 31 of file generate-asm-lcov.py.

◆ srcs

list generate-asm-lcov.srcs = []

Definition at line 143 of file generate-asm-lcov.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:10