Virtual Memory Sims
Loading...
Searching...
No Matches
TLB Class Reference

#include <TLB_table.h>

Collaboration diagram for TLB:
Collaboration graph

Public Member Functions

 TLB (FileConfiguration &config)
void View_table ()
void Insert_with_FIFO_algo (unsigned long long virtual_address_key, unsigned long long physical_memory_value, bool valid_bit_value)
void insert_with_LRU_algo (unsigned long long virtual_address_key, unsigned long long physical_memory_frame, bool valid_bit_value)
bool find (unsigned long long virtual_address_key, unsigned long long &physical_memory_value)
void perfomance_metrics (unsigned long long ram_latency, unsigned long long total_ram_reads, unsigned long long total_ram_writes, unsigned long long dirty_evictions)
int getFileCount ()
bool findFIFOTLB (unsigned long long virtual_address_key, unsigned long long &physical_memory_value)
void TLB_Eviction (unsigned long long vpn)

Constructor & Destructor Documentation

◆ TLB()

TLB::TLB ( FileConfiguration & config)

Member Function Documentation

◆ find()

bool TLB::find ( unsigned long long virtual_address_key,
unsigned long long & physical_memory_value )
Here is the caller graph for this function:

◆ findFIFOTLB()

bool TLB::findFIFOTLB ( unsigned long long virtual_address_key,
unsigned long long & physical_memory_value )
Here is the caller graph for this function:

◆ getFileCount()

int TLB::getFileCount ( )

◆ Insert_with_FIFO_algo()

void TLB::Insert_with_FIFO_algo ( unsigned long long virtual_address_key,
unsigned long long physical_memory_value,
bool valid_bit_value )
Here is the caller graph for this function:

◆ insert_with_LRU_algo()

void TLB::insert_with_LRU_algo ( unsigned long long virtual_address_key,
unsigned long long physical_memory_frame,
bool valid_bit_value )
Here is the caller graph for this function:

◆ perfomance_metrics()

void TLB::perfomance_metrics ( unsigned long long ram_latency,
unsigned long long total_ram_reads,
unsigned long long total_ram_writes,
unsigned long long dirty_evictions )
Here is the caller graph for this function:

◆ TLB_Eviction()

void TLB::TLB_Eviction ( unsigned long long vpn)
Here is the caller graph for this function:

◆ View_table()

void TLB::View_table ( )

The documentation for this class was generated from the following files: