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

#include <Page_frame.h>

Collaboration diagram for Page_table:
Collaboration graph

Public Member Functions

 Page_table (FileConfiguration &config)
unsigned long long getPhysicalAddress (unsigned long long vpn, unsigned long long offset, bool for_writing, TLB &l1, bool hit, char w='W')
int getFrame_count ()
void display ()
void displayRam ()
void LOOKAHEADINSERTION (FileConfiguration &config)
unsigned long long OPT_algorthim_for_getting_pshycal_number (unsigned long long vpn, unsigned long long offset, bool for_writing, TLB &l1, vector< unsigned long long > &raw_adresses, size_t index, char w='W')
unsigned long long accessPageTableDirectly (unsigned long long vpn, unsigned long long offset, bool for_writing, char w)
unsigned long long acccess_using_FIFO (unsigned long long vpn, unsigned long long offset, bool for_writing, TLB &l1, char w='W')
 ~Page_table ()

Public Attributes

unsigned long long dirty_evictions
unsigned long long ram_read_count
unsigned long long ram_write_count

Constructor & Destructor Documentation

◆ Page_table()

Page_table::Page_table ( FileConfiguration & config)

◆ ~Page_table()

Page_table::~Page_table ( )

Member Function Documentation

◆ acccess_using_FIFO()

unsigned long long Page_table::acccess_using_FIFO ( unsigned long long vpn,
unsigned long long offset,
bool for_writing,
TLB & l1,
char w = 'W' )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ accessPageTableDirectly()

unsigned long long Page_table::accessPageTableDirectly ( unsigned long long vpn,
unsigned long long offset,
bool for_writing,
char w )
Here is the caller graph for this function:

◆ display()

void Page_table::display ( )

◆ displayRam()

void Page_table::displayRam ( )

◆ getFrame_count()

int Page_table::getFrame_count ( )
Here is the caller graph for this function:

◆ getPhysicalAddress()

unsigned long long Page_table::getPhysicalAddress ( unsigned long long vpn,
unsigned long long offset,
bool for_writing,
TLB & l1,
bool hit,
char w = 'W' )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LOOKAHEADINSERTION()

void Page_table::LOOKAHEADINSERTION ( FileConfiguration & config)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ OPT_algorthim_for_getting_pshycal_number()

unsigned long long Page_table::OPT_algorthim_for_getting_pshycal_number ( unsigned long long vpn,
unsigned long long offset,
bool for_writing,
TLB & l1,
vector< unsigned long long > & raw_adresses,
size_t index,
char w = 'W' )
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ dirty_evictions

unsigned long long Page_table::dirty_evictions

◆ ram_read_count

unsigned long long Page_table::ram_read_count

◆ ram_write_count

unsigned long long Page_table::ram_write_count

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