Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Macros | Enumerations
ChecksumBench.cpp File Reference
#include "bench/Benchmark.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkString.h"
#include "include/private/base/SkTemplates.h"
#include "src/base/SkRandom.h"
#include "src/core/SkChecksum.h"
#include "src/core/SkMD5.h"
#include <memory>

Go to the source code of this file.

Classes

class  ComputeChecksumBench
 

Macros

#define DEF_CHECKSUM_BENCH(T)
 

Enumerations

enum  ChecksumType { kMD5_ChecksumType , kWyhash_ChecksumType }
 

Macro Definition Documentation

◆ DEF_CHECKSUM_BENCH

#define DEF_CHECKSUM_BENCH (   T)
Value:
DEF_BENCH( return new ComputeChecksumBench(T, 4); ) \
DEF_BENCH( return new ComputeChecksumBench(T, 8); ) \
DEF_BENCH( return new ComputeChecksumBench(T, 15); ) \
DEF_BENCH( return new ComputeChecksumBench(T, 16); ) \
DEF_BENCH( return new ComputeChecksumBench(T, 31); ) \
DEF_BENCH( return new ComputeChecksumBench(T, 32); ) \
DEF_BENCH( return new ComputeChecksumBench(T, 96); ) \
DEF_BENCH( return new ComputeChecksumBench(T, 1024); )
#define DEF_BENCH(code)
Definition Benchmark.h:20
#define T

Definition at line 86 of file ChecksumBench.cpp.

Enumeration Type Documentation

◆ ChecksumType

Enumerator
kMD5_ChecksumType 
kWyhash_ChecksumType 

Definition at line 17 of file ChecksumBench.cpp.

17 {
20};
@ kMD5_ChecksumType
@ kWyhash_ChecksumType