PPL Logo

arch/util/compress-external.C File Reference

Go to the source code of this file.

Functions

void initCompress (void)
void compressZlib (void *src, void *dst, int size, int *compressSize, void *bData)
void decompressZlib (void *cData, void *dData, int size, int compressSize, void *bData)
void compressLz4 (void *src, void *dst, int size, int *compressSize, void *bData)
void decompressLz4 (void *cData, void *dData, int size, int compressSize, void *bData)

Variables

static int compress_mode = CMODE_ZLIB
static int initDone = 0


Function Documentation

void initCompress ( void   ) 

Definition at line 26 of file compress-external.C.

References compress_mode, and zlib_init().

Referenced by compressLz4(), and compressZlib().

Here is the call graph for this function:

Here is the caller graph for this function:

void compressZlib ( void *  src,
void *  dst,
int  size,
int compressSize,
void *  bData 
)

Definition at line 38 of file compress-external.C.

References compress_mode, get_clock(), initCompress(), initDone, malloc(), PUP::t, and zlib_compress().

Referenced by CompressPersistentMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

void decompressZlib ( void *  cData,
void *  dData,
int  size,
int  compressSize,
void *  bData 
)

Definition at line 61 of file compress-external.C.

References free(), get_clock(), malloc(), PUP::t, and zlib_decompress().

Referenced by persistentDecompressHandler().

Here is the call graph for this function:

Here is the caller graph for this function:

void compressLz4 ( void *  src,
void *  dst,
int  size,
int compressSize,
void *  bData 
)

Definition at line 80 of file compress-external.C.

References compress_mode, get_clock(), initCompress(), initDone, LZ4_compress_default(), LZ4_compressBound(), malloc(), and PUP::t.

Referenced by CompressPersistentMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

void decompressLz4 ( void *  cData,
void *  dData,
int  size,
int  compressSize,
void *  bData 
)

Definition at line 105 of file compress-external.C.

References CmiAbort(), free(), get_clock(), LZ4_decompress_safe(), malloc(), and PUP::t.

Referenced by persistentDecompressHandler().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

int compress_mode = CMODE_ZLIB [static]

Definition at line 23 of file compress-external.C.

Referenced by compressLz4(), compressZlib(), and initCompress().

int initDone = 0 [static]

Definition at line 25 of file compress-external.C.

Referenced by compressLz4(), and compressZlib().


Generated on Mon Sep 21 07:56:01 2020 for Charm++ by  doxygen 1.5.5