TEMU  3.0
The Terma Emulator
Profiling.h
Go to the documentation of this file.
1 //===-- temu-c/Profiling.h - TEMU Profiling and Coverage --------*- C++ -*-===//
2 //
3 // TEMU: The Terma Emulator
4 // (c) Terma 2021
5 // Authors: Mattias Holm <maho (at) terma.com>
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef TEMU_PROFILING_H
10 #define TEMU_PROFILING_H
11 
12 #include <stdint.h>
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
33 int xemu_writeBranchCounters(const char *fileName);
34 
41 uint64_t * xemu_getBranchCounter(uint64_t src, uint64_t tgt);
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 
48 #endif // !TEMU_PROFILING_H
int xemu_writeBranchCounters(const char *fileName)
uint64_t * xemu_getBranchCounter(uint64_t src, uint64_t tgt)