#include "lz4.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <inttypes.h>
#include <time.h>
#include <locale.h>
#include <limits.h>
#include <assert.h>
|
void | run_screaming (const char *message, const int code) |
|
void | usage (const char *exeName, const char *message) |
|
uint64_t | bench (const char *known_good_dst, const int function_id, int iterations, const char *src, char *dst, const size_t src_size, const size_t max_dst_size, const size_t comp_size) |
|
int | main (int argc, char **argv) |
|
◆ _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 199309L |
◆ _XOPEN_SOURCE
#define _XOPEN_SOURCE 500 |
◆ BILLION
#define BILLION 1000000000L |
◆ CHECK
Value:
void run_screaming(const char *message, const int code)
Definition bench_functions.c:90
#define c(i)
Definition sha256.c:43
◆ ID__LZ4_COMPRESS_DEFAULT
#define ID__LZ4_COMPRESS_DEFAULT 1 |
◆ ID__LZ4_COMPRESS_FAST
#define ID__LZ4_COMPRESS_FAST 2 |
◆ ID__LZ4_COMPRESS_FAST_EXTSTATE
#define ID__LZ4_COMPRESS_FAST_EXTSTATE 3 |
◆ ID__LZ4_COMPRESS_GENERIC
#define ID__LZ4_COMPRESS_GENERIC 4 |
◆ ID__LZ4_DECOMPRESS_FAST
#define ID__LZ4_DECOMPRESS_FAST 6 |
◆ ID__LZ4_DECOMPRESS_SAFE
#define ID__LZ4_DECOMPRESS_SAFE 5 |
◆ LZ4_DISABLE_DEPRECATE_WARNINGS
◆ bench()
uint64_t bench |
( |
const char * | known_good_dst, |
|
|
const int | function_id, |
|
|
int | iterations, |
|
|
const char * | src, |
|
|
char * | dst, |
|
|
const size_t | src_size, |
|
|
const size_t | max_dst_size, |
|
|
const size_t | comp_size ) |
◆ main()
int main |
( |
int | argc, |
|
|
char ** | argv ) |
◆ run_screaming()
◆ usage()
void usage |
( |
const char * | exeName, |
|
|
const char * | message ) |