Flutter Engine
The Flutter Engine
|
#include "include/core/SkRefCnt.h"
#include "include/core/SkSize.h"
#include "include/core/SkString.h"
#include "include/private/base/SkTArray.h"
#include "tools/Registry.h"
Go to the source code of this file.
Classes | |
class | Benchmark |
Macros | |
#define | DEF_BENCH3(code, N) static BenchRegistry gBench##N([](void*) -> Benchmark* { code; }); |
#define | DEF_BENCH2(code, N) DEF_BENCH3(code, N) |
#define | DEF_BENCH(code) DEF_BENCH2(code, __COUNTER__) |
Typedefs | |
typedef sk_tools::Registry< Benchmark *(*)(void *)> | BenchRegistry |
#define DEF_BENCH | ( | code | ) | DEF_BENCH2(code, __COUNTER__) |
Definition at line 20 of file Benchmark.h.
#define DEF_BENCH2 | ( | code, | |
N | |||
) | DEF_BENCH3(code, N) |
Definition at line 19 of file Benchmark.h.
#define DEF_BENCH3 | ( | code, | |
N | |||
) | static BenchRegistry gBench##N([](void*) -> Benchmark* { code; }); |
Definition at line 17 of file Benchmark.h.
typedef sk_tools::Registry<Benchmark*(*)(void*)> BenchRegistry |
Definition at line 118 of file Benchmark.h.