ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
libCSRCounters.h
Go to the documentation of this file.
1 #ifndef JITLIB_COUNTERS_H
2 #define JITLIB_COUNTERS_H
3 
4 #include "etiss/jit/CPU.h"
5 #include "etiss/jit/System.h"
6 
8 
9 etiss_uint64 etiss_get_cycles(ETISS_CPU * const cpu, ETISS_System * const system, void * const * const plugin_pointers);
10 
11 etiss_uint64 etiss_get_instret(ETISS_CPU * const cpu, ETISS_System * const system, void * const * const plugin_pointers);
12 
13 #endif
etiss_uint64 etiss_get_instret(ETISS_CPU *const cpu, ETISS_System *const system, void *const *const plugin_pointers)
Definition: CSRCounters.cpp:26
etiss_uint64 etiss_get_time()
Definition: CSRCounters.cpp:18
etiss_uint64 etiss_get_cycles(ETISS_CPU *const cpu, ETISS_System *const system, void *const *const plugin_pointers)
Definition: CSRCounters.cpp:13
uint64_t etiss_uint64
Definition: types.h:96
basic cpu state structure needed for execution of any cpu architecture.
Definition: CPU.h:89
memory access and time synchronization functions.
Definition: System.h:78