#include "util.h"
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include "timefn.h"
#include "mem.h"
#include "zstd_internal.h"
#include "decompress/zstd_decompress_internal.h"
#include "zstd.h"
#include "datagen.h"
#include "benchfn.h"
#include "benchzstd.h"
◆ AUTHOR
#define AUTHOR "Yann Collet" |
◆ COMPRESSIBILITY_DEFAULT
#define COMPRESSIBILITY_DEFAULT 0.50 |
◆ CONTROL
Value:{
if (!(
c)) { abort(); } }
#define c(i)
Definition sha256.c:43
◆ DEFAULT_CLEVEL
◆ DISPLAY
Value:fprintf(stderr, __VA_ARGS__)
◆ ERROR_OUT
Value:{
DISPLAY(
"%s \n", msg); exit(1); }
#define DISPLAY(...)
Definition fullbench.c:91
◆ FIRST_BLOCK_SIZE
#define FIRST_BLOCK_SIZE 8 |
◆ MAX_MEM
#define MAX_MEM (1984 MB) |
◆ NBLOOPS
◆ PROGRAM_DESCRIPTION
#define PROGRAM_DESCRIPTION "Zstandard speed analyzer" |
◆ TIMELOOP_NANOSEC
#define TIMELOOP_NANOSEC (1*1000000000ULL) /* 1 second */ |
◆ TIMELOOP_S
◆ WELCOME_MESSAGE
◆ ZSTD_DISABLE_DEPRECATE_WARNINGS
#define ZSTD_DISABLE_DEPRECATE_WARNINGS /* No deprecation warnings, we still bench some deprecated functions */ |
◆ ZSTD_STATIC_LINKING_ONLY
◆ main()
◆ ZSTD_decodeLiteralsBlock_wrapper()
size_t ZSTD_decodeLiteralsBlock_wrapper |
( |
ZSTD_DCtx * | dctx, |
|
|
const void * | src, |
|
|
size_t | srcSize, |
|
|
void * | dst, |
|
|
size_t | dstCapacity ) |
|
extern |
◆ ZSTD_decodeLiteralsHeader()