PPL Logo

util/pup_util.C File Reference

Go to the source code of this file.

Data Structures

class  pupCheckRec
class  PUP_regEntry

Typedefs

typedef CkHashtableTslow
< PUP::able::PUP_ID,
PUP_regEntry
PUP_registry

Functions

int pwrite (int fd, const void *buf, size_t nbytes, __int64 offset)
ssize_t pwrite (int fd, const void *buf, size_t count, off_t offset)
static void showBanner (void)
int CmiOpen (const char *pathname, int flags, int mode)
size_t CmiFwrite (const void *ptr, size_t size, size_t nmemb, FILE *f)
CmiInt8 CmiPwrite (int fd, const char *buf, size_t bytes, size_t offset)
size_t CmiFread (void *ptr, size_t size, size_t nmemb, FILE *f)
FILE * CmiFopen (const char *path, const char *mode)
int CmiFclose (FILE *fp)
static PUP_registryPUP_getRegistry (void)
const PUP_regEntryPUP_getRegEntry (const PUP::able::PUP_ID &id)

Variables

static int bannerDisplayed = 0
static PUP::able::PUP_ID null_PUP_ID (0)


Typedef Documentation

Definition at line 486 of file pup_util.C.


Function Documentation

int pwrite ( int  fd,
const void *  buf,
size_t  nbytes,
__int64  offset 
)

Definition at line 29 of file pup_util.C.

Referenced by ADIOI_LUSTRE_Aligned_Mem_File_Write(), ADIOI_LUSTRE_Directio(), ADIOI_XFS_Aligned_Mem_File_Write(), ADIOI_XFS_WriteContig(), and CmiPwrite().

Here is the caller graph for this function:

ssize_t pwrite ( int  fd,
const void *  buf,
size_t  count,
off_t  offset 
)

static void showBanner ( void   )  [static]

Definition at line 81 of file pup_util.C.

References bannerDisplayed, and CmiPrintf().

Referenced by pupCheckRec::write().

Here is the call graph for this function:

Here is the caller graph for this function:

int CmiOpen ( const char *  pathname,
int  flags,
int  mode 
)

Definition at line 171 of file pup_util.C.

References CmiError(), fd, and Ck::IO::open().

Referenced by Ck::IO::impl::Manager::get().

Here is the call graph for this function:

Here is the caller graph for this function:

size_t CmiFwrite ( const void *  ptr,
size_t  size,
size_t  nmemb,
FILE *  f 
)

Definition at line 191 of file pup_util.C.

References PUP::mem::buf, CmiError(), and CmiWallTimer().

Referenced by PUP::toDisk::bytes().

Here is the call graph for this function:

Here is the caller graph for this function:

CmiInt8 CmiPwrite ( int  fd,
const char *  buf,
size_t  bytes,
size_t  offset 
)

Definition at line 223 of file pup_util.C.

References pwrite().

Referenced by Ck::IO::impl::WriteSession::flushBuffer().

Here is the call graph for this function:

Here is the caller graph for this function:

size_t CmiFread ( void *  ptr,
size_t  size,
size_t  nmemb,
FILE *  f 
)

Definition at line 242 of file pup_util.C.

References PUP::mem::buf, and CmiError().

Referenced by PUP::fromDisk::bytes().

Here is the call graph for this function:

Here is the caller graph for this function:

FILE* CmiFopen ( const char *  path,
const char *  mode 
)

Definition at line 260 of file pup_util.C.

References CmiError().

Referenced by openCheckpointFile().

Here is the call graph for this function:

Here is the caller graph for this function:

int CmiFclose ( FILE *  fp  ) 

Definition at line 276 of file pup_util.C.

References CmiError(), and status.

Referenced by CkCheckpointMgr::Checkpoint(), checkpointOne(), CkRestartMain(), and CkResumeRestartMain().

Here is the call graph for this function:

Here is the caller graph for this function:

static PUP_registry* PUP_getRegistry ( void   )  [static]

Definition at line 489 of file pup_util.C.

Referenced by PUP_getRegEntry(), and PUP::able::register_constructor().

Here is the caller graph for this function:

const PUP_regEntry* PUP_getRegEntry ( const PUP::able::PUP_ID id  ) 

Definition at line 496 of file pup_util.C.

References CmiAbort(), and PUP_getRegistry().

Referenced by PUP::able::get_constructor(), and PUP::er::object().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

int bannerDisplayed = 0 [static]

Definition at line 80 of file pup_util.C.

Referenced by showBanner(), and pupCheckRec::write().

Referenced by PUP::er::object().


Generated on Mon Sep 21 08:11:54 2020 for Charm++ by  doxygen 1.5.5