PPL Logo

CtgGlobalList Class Reference

Keeps a list of global variables. More...

Collaboration diagram for CtgGlobalList:

Collaboration graph
[legend]

Public Member Functions

 CtgGlobalList ()
 Analyze the current set of global variables, determine which are user globals and which are system globals, and store the list of user globals.
int getSize (void) const
 Return the number of bytes needed to store our global data.
void read (void *datav) const
 Copy the current set of global data into this set, which must be getSize() bytes.
void install (void *datav) const
 copy data to globals
void install_var (void *datav, void *ptr) const
void read_var (void *datav, void *ptr) const
 CtgGlobalList ()
 Analyze the current set of global variables, determine which are user globals and which are system globals, and store the list of user globals.
int getSize (void) const
 Return the number of bytes needed to store our global data.
void read (void *datav) const
 Copy the current set of global data into this set, which must be getSize() bytes.
void install (void *datav) const
 Point at this set of global data (must be getSize() bytes).

Private Member Functions

int isUserSymbol (const char *name)
int isUserSymbol (const char *name)

Private Attributes

int datalen
 Number of bytes in the table of global data.
CkVec< CtgRecrec
int nRec
CkVec< CtgRecrec

Data Structures

struct  CtgRec

Detailed Description

Keeps a list of global variables.

Definition at line 63 of file global-elfcopy.C.


Constructor & Destructor Documentation

CtgGlobalList::CtgGlobalList (  ) 

Analyze the current set of global variables, determine which are user globals and which are system globals, and store the list of user globals.

Analyze the current set of global variables, determine which are user globals and which are system globals, and store the list of user globals.

Analyze the current set of global variables, determine which are user globals and which are system globals, and store the list of user globals.

Definition at line 180 of file global-elfcopy.C.

References datalen, lookup_obj_sym(), nRec, printf(), ptr, rec, size, and CkVec< T >::size().

CtgGlobalList::CtgGlobalList (  ) 

Analyze the current set of global variables, determine which are user globals and which are system globals, and store the list of user globals.


Member Function Documentation

int CtgGlobalList::getSize ( void   )  const [inline]

Return the number of bytes needed to store our global data.

Definition at line 84 of file global-elfcopy.C.

References datalen.

Referenced by CtgCreate(), CtgInit(), and CtgPup().

void CtgGlobalList::read ( void *  datav  )  const

Copy the current set of global data into this set, which must be getSize() bytes.

Definition at line 131 of file global-elfcopy.C.

References data, nRec, rec, and size.

Referenced by CtgCreate(), CtgInit(), and CtgInstall().

void CtgGlobalList::install ( void *  datav  )  const [inline]

copy data to globals

Definition at line 91 of file global-elfcopy.C.

References data, nRec, rec, and size.

Referenced by CtgInit(), and CtgInstall().

void CtgGlobalList::install_var ( void *  datav,
void *  ptr 
) const [inline]

Definition at line 98 of file global-elfcopy.C.

References data, nRec, rec, and size.

Referenced by CtgInstall_var(), and CtgUninstall_var().

void CtgGlobalList::read_var ( void *  datav,
void *  ptr 
) const

Definition at line 138 of file global-elfcopy.C.

References data, nRec, rec, and size.

Referenced by CtgInstall_var(), and CtgUninstall_var().

int CtgGlobalList::isUserSymbol ( const char *  name  )  [private]

if the name is on the blacklist, it is not a user symbol

Definition at line 118 of file global-elfcopy.C.

int CtgGlobalList::getSize ( void   )  const [inline]

Return the number of bytes needed to store our global data.

Definition at line 167 of file global-elfgot.C.

References datalen.

void CtgGlobalList::read ( void *  datav  )  const

Copy the current set of global data into this set, which must be getSize() bytes.

void CtgGlobalList::install ( void *  datav  )  const [inline]

Point at this set of global data (must be getSize() bytes).

Definition at line 174 of file global-elfgot.C.

References data, nRec, and rec.

int CtgGlobalList::isUserSymbol ( const char *  name  )  [private]


Field Documentation

Number of bytes in the table of global data.

Definition at line 65 of file global-elfcopy.C.

Referenced by CtgGlobalList(), and getSize().

Definition at line 73 of file global-elfcopy.C.

Referenced by CtgGlobalList(), install(), install_var(), read(), and read_var().

Definition at line 74 of file global-elfcopy.C.

Referenced by CtgGlobalList(), install(), install_var(), read(), and read_var().

Definition at line 156 of file global-elfgot.C.


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

Generated on Fri May 25 08:02:56 2012 for Charm++ by  doxygen 1.5.5