ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Functions
resources.cpp File Reference
#include <cstdint>
#include "etiss/jit/CPU.h"
Include dependency graph for resources.cpp:

Go to the source code of this file.

Functions

uint32_t handleResources (uint32_t *resource_time, uint32_t(*resources)[ETISS_MAX_RESOURCES], uint32_t num_stages, uint32_t *num_resources, ETISS_CPU *cpu)
 

Function Documentation

◆ handleResources()

uint32_t handleResources ( uint32_t resource_time,
uint32_t(*)  resources[ETISS_MAX_RESOURCES],
uint32_t  num_stages,
uint32_t num_resources,
ETISS_CPU cpu 
)

Definition at line 6 of file resources.cpp.

References ETISS_CPU::cycles, max(), ETISS_CPU::resourceUsages, and uint32_t.

Here is the call graph for this function: