Multi-core Hash Joins
Main-memory hash join implementations for multi-core CPUs
Functions
genzipf.c File Reference
#include <assert.h>
#include <stdlib.h>
#include <math.h>
#include "genzipf.h"

Go to the source code of this file.

Functions

item_tgen_zipf (unsigned int stream_size, unsigned int alphabet_size, double zipf_factor, item_t **output)
 

Detailed Description

Generate Zipf-distributed input data.

Author
Jens Teubner jens..nosp@m.teub.nosp@m.ner@i.nosp@m.nf.e.nosp@m.thz.c.nosp@m.h

(c) ETH Zurich, Systems Group

Id
genzipf.c 3017 2012-12-07 10:56:20Z bcagri

Definition in file genzipf.c.

Function Documentation

◆ gen_zipf()

item_t * gen_zipf ( unsigned int  stream_size,
unsigned int  alphabet_size,
double  zipf_factor,
item_t **  output 
)

Generate a stream with Zipf-distributed content.

Definition at line 103 of file genzipf.c.