3 #include "etiss/jit/CPU.h"
20 auto steady_now = std::chrono::system_clock::now().time_since_epoch();
21 auto us = std::chrono::duration_cast<std::chrono::microseconds>(steady_now);
contains neccesary interfaces for instruction translation.
defines main cpu core interface
uint64 etiss_get_instret(ETISS_CPU *const cpu, ETISS_System *const system, void *const *const plugin_pointers)
uint64 etiss_get_cycles(ETISS_CPU *const cpu, ETISS_System *const system, void *const *const plugin_pointers)
Header file of the ETISS library.
Page Table Entry (PTE) defines the composition of Page Frame Number (PFN) and relavant flags.
basic cpu state structure needed for execution of any cpu architecture.
etiss_uint64 cpuCycleTime_ps
frequency of the cpu. use to allign e.g. memory delays
etiss_uint64 cpuTime_ps
simulation time of cpu
memory access and time synchronization functions.