Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hash-benchmark.cc File Reference
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <vector>
#include <boost/functional/hash.hpp>
#include "codegen/llvm-codegen.h"
#include "experiments/data-provider.h"
#include "runtime/mem-tracker.h"
#include "runtime/raw-value.h"
#include "runtime/string-value.h"
#include "util/benchmark.h"
#include "util/cpu-info.h"
#include "util/hash-util.h"
#include "common/names.h"
Include dependency graph for hash-benchmark.cc:

Go to the source code of this file.

Classes

struct  TestData< Decimal >
 

Typedefs

typedef uint32_t(* CodegenHashFn )(int rows, char *data, int32_t *results)
 

Functions

void TestFnvIntHash (int batch, void *d)
 
void TestCrcIntHash (int batch, void *d)
 
void TestBoostIntHash (int batch, void *d)
 
void TestCodegenIntHash (int batch, void *d)
 
void TestFnvMixedHash (int batch, void *d)
 
void TestCrcMixedHash (int batch, void *d)
 
void TestCodegenMixedHash (int batch, void *d)
 
void TestBoostMixedHash (int batch, void *d)
 
int NumCollisions (TestData *data, int num_buckets)
 
Function * CodegenCrcHash (LlvmCodeGen *codegen, bool mixed)
 
int main (int argc, char **argv)
 

Typedef Documentation

typedef uint32_t(* CodegenHashFn)(int rows, char *data, int32_t *results)

Definition at line 74 of file hash-benchmark.cc.

Function Documentation

int NumCollisions ( TestData data,
int  num_buckets 
)

Definition at line 238 of file hash-benchmark.cc.

References impala::hash, and TestData< Decimal >::results.

void TestBoostIntHash ( int  batch,
void *  d 
)
void TestCodegenIntHash ( int  batch,
void *  d 
)
void TestCodegenMixedHash ( int  batch,
void *  d 
)