TEMU  4.4
The Terma Emulator
Profiling.h File Reference
#include <stdint.h>
Include dependency graph for Profiling.h:

Go to the source code of this file.

Functions

int xemu_writeBranchCounters (const char *fileName)
 
uint64_t * xemu_getBranchCounter (uint64_t src, uint64_t tgt)
 

Function Documentation

◆ xemu_getBranchCounter()

uint64_t* xemu_getBranchCounter ( uint64_t  src,
uint64_t  tgt 
)

Get a branch counter for the specific arc

Parameters
srcSource physical address
tgtTarget physical address
Returns
Pointer to the counter

◆ xemu_writeBranchCounters()

int xemu_writeBranchCounters ( const char *  fileName)

Experimental coverage support

This file declares a number of functions useful for working with coverage.

The support here is experimental.

Write branch counters in YAML format

Coverage is stored using physical addresses.

Parameters
fileNameName of file to write
Returns
0 if successful