GPUOcelot
Public Member Functions | Public Attributes

trace::MemoryChecker::ShadowMemory Class Reference

#include <MemoryChecker.h>

List of all members.

Public Member Functions

 ShadowMemory ()
void resize (unsigned int size)
unsigned int size ()
Status checkRegion (unsigned int idx, unsigned int size)
 Check if region is initialized.
void setRegion (unsigned int idx, unsigned int size, Status stat)
 Set initialization status of a region.
Status checkRegister (ir::PTXOperand::RegisterType idx)
 Check if region is initialized.
void setRegister (ir::PTXOperand::RegisterType idx, Status stat)
 Set initialization status of a register.

Public Attributes

std::vector< Statusmap
 Distinguished Secondary Mapping for shadow memory.

Constructor & Destructor Documentation

trace::MemoryChecker::ShadowMemory::ShadowMemory ( )

Member Function Documentation

MemoryChecker::Status trace::MemoryChecker::ShadowMemory::checkRegion ( unsigned int  idx,
unsigned int  size 
)

Check if region is initialized.

MemoryChecker::Status trace::MemoryChecker::ShadowMemory::checkRegister ( ir::PTXOperand::RegisterType  idx)

Check if region is initialized.

void trace::MemoryChecker::ShadowMemory::resize ( unsigned int  size)
void trace::MemoryChecker::ShadowMemory::setRegion ( unsigned int  idx,
unsigned int  size,
Status  stat 
)

Set initialization status of a region.

void trace::MemoryChecker::ShadowMemory::setRegister ( ir::PTXOperand::RegisterType  idx,
Status  stat 
)

Set initialization status of a register.

unsigned int trace::MemoryChecker::ShadowMemory::size ( )

Member Data Documentation

Distinguished Secondary Mapping for shadow memory.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines