HPCToolkit
TraceviewerServer::VersatileMemoryPage Class Reference

#include <VersatileMemoryPage.hpp>

Collaboration diagram for TraceviewerServer::VersatileMemoryPage:

Public Member Functions

 VersatileMemoryPage ()
 
 VersatileMemoryPage (FileOffset, int, FileDescriptor, LRUList< VersatileMemoryPage > *pageManagementList)
 
virtual ~VersatileMemoryPage ()
 
char * get ()
 

Static Public Member Functions

static void setMaxPages (int)
 

Private Member Functions

void mapPage ()
 
void unmapPage ()
 

Private Attributes

FileOffset startPoint
 
int size
 
char * page
 
int index
 
FileDescriptor file
 
bool isMapped
 
LRUList< VersatileMemoryPage > * mostRecentlyUsed
 

Static Private Attributes

static const int MAP_FLAGS
 

Detailed Description

Definition at line 72 of file VersatileMemoryPage.hpp.

Constructor & Destructor Documentation

◆ VersatileMemoryPage() [1/2]

TraceviewerServer::VersatileMemoryPage::VersatileMemoryPage ( )

◆ VersatileMemoryPage() [2/2]

TraceviewerServer::VersatileMemoryPage::VersatileMemoryPage ( FileOffset  _startPoint,
int  _size,
FileDescriptor  _file,
LRUList< VersatileMemoryPage > *  pageManagementList 
)

Definition at line 75 of file VersatileMemoryPage.cpp.

◆ ~VersatileMemoryPage()

TraceviewerServer::VersatileMemoryPage::~VersatileMemoryPage ( )
virtual

Definition at line 92 of file VersatileMemoryPage.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ get()

char * TraceviewerServer::VersatileMemoryPage::get ( )

Definition at line 97 of file VersatileMemoryPage.cpp.

Here is the call graph for this function:

◆ mapPage()

void TraceviewerServer::VersatileMemoryPage::mapPage ( )
private

Definition at line 109 of file VersatileMemoryPage.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMaxPages()

void TraceviewerServer::VersatileMemoryPage::setMaxPages ( int  pages)
static

Definition at line 87 of file VersatileMemoryPage.cpp.

◆ unmapPage()

void TraceviewerServer::VersatileMemoryPage::unmapPage ( )
private

Definition at line 146 of file VersatileMemoryPage.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ file

FileDescriptor TraceviewerServer::VersatileMemoryPage::file
private

Definition at line 88 of file VersatileMemoryPage.hpp.

◆ index

int TraceviewerServer::VersatileMemoryPage::index
private

Definition at line 87 of file VersatileMemoryPage.hpp.

◆ isMapped

bool TraceviewerServer::VersatileMemoryPage::isMapped
private

Definition at line 90 of file VersatileMemoryPage.hpp.

◆ MAP_FLAGS

const int TraceviewerServer::VersatileMemoryPage::MAP_FLAGS
staticprivate
Initial value:
= MAP_SHARED
static const int MAP_PROT = PROT_READ

Definition at line 97 of file VersatileMemoryPage.hpp.

◆ mostRecentlyUsed

LRUList<VersatileMemoryPage>* TraceviewerServer::VersatileMemoryPage::mostRecentlyUsed
private

Definition at line 91 of file VersatileMemoryPage.hpp.

◆ page

char* TraceviewerServer::VersatileMemoryPage::page
private

Definition at line 86 of file VersatileMemoryPage.hpp.

◆ size

int TraceviewerServer::VersatileMemoryPage::size
private

Definition at line 85 of file VersatileMemoryPage.hpp.

◆ startPoint

FileOffset TraceviewerServer::VersatileMemoryPage::startPoint
private

Definition at line 84 of file VersatileMemoryPage.hpp.


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