Project
Loading...
Searching...
No Matches
bench_ransDecodeScaling.cxx File Reference
#include "rANS/internal/common/defines.h"
#include <vector>
#include <cstring>
#include <random>
#include <algorithm>
#include <iterator>
#include <benchmark/benchmark.h>
#include "rANS/factory.h"
#include "rANS/histogram.h"
#include "helpers.h"

Go to the source code of this file.

Classes

class  SourceMessageUniform< source_T >
 

Functions

void ransDecodeBenchmark (benchmark::State &st)
 
 BENCHMARK (ransDecodeBenchmark) -> DenseRange(8, 27, 1)
 
 BENCHMARK_MAIN ()
 

Variables

constexpr size_t MessageSize = 1ull << 22
 
SourceMessageUniform< uint32_t > sourceMessage {0, 0}
 

Function Documentation

◆ BENCHMARK()

BENCHMARK ( ransDecodeBenchmark  ) -> DenseRange(8, 27, 1)

◆ BENCHMARK_MAIN()

BENCHMARK_MAIN ( )

◆ ransDecodeBenchmark()

void ransDecodeBenchmark ( benchmark::State &  st)

Definition at line 69 of file bench_ransDecodeScaling.cxx.

Variable Documentation

◆ MessageSize

constexpr size_t MessageSize = 1ull << 22
inlineconstexpr

Definition at line 40 of file bench_ransDecodeScaling.cxx.

◆ sourceMessage

SourceMessageUniform<uint32_t> sourceMessage {0, 0}

Definition at line 67 of file bench_ransDecodeScaling.cxx.