/external/libcxx/utils/google-benchmark/src/ |
D | benchmark_register.cc | 70 size_t AddBenchmark(std::unique_ptr<Benchmark> family); 78 std::vector<Benchmark::Instance>* benchmarks, 84 std::vector<std::unique_ptr<Benchmark>> families_; 93 size_t BenchmarkFamilies::AddBenchmark(std::unique_ptr<Benchmark> family) { in AddBenchmark() 107 const std::string& spec, std::vector<Benchmark::Instance>* benchmarks, in FindBenchmarks() 123 for (std::unique_ptr<Benchmark>& family : families_) { in FindBenchmarks() 147 Benchmark::Instance instance; in FindBenchmarks() 209 Benchmark* RegisterBenchmarkInternal(Benchmark* bench) { in RegisterBenchmarkInternal() 210 std::unique_ptr<Benchmark> bench_ptr(bench); in RegisterBenchmarkInternal() 219 std::vector<Benchmark::Instance>* benchmarks, in FindBenchmarksInternal() [all …]
|
/external/google-benchmark/src/ |
D | benchmark_register.cc | 70 size_t AddBenchmark(std::unique_ptr<Benchmark> family); 78 std::vector<Benchmark::Instance>* benchmarks, 84 std::vector<std::unique_ptr<Benchmark>> families_; 93 size_t BenchmarkFamilies::AddBenchmark(std::unique_ptr<Benchmark> family) { in AddBenchmark() 107 const std::string& spec, std::vector<Benchmark::Instance>* benchmarks, in FindBenchmarks() 123 for (std::unique_ptr<Benchmark>& family : families_) { in FindBenchmarks() 147 Benchmark::Instance instance; in FindBenchmarks() 209 Benchmark* RegisterBenchmarkInternal(Benchmark* bench) { in RegisterBenchmarkInternal() 210 std::unique_ptr<Benchmark> bench_ptr(bench); in RegisterBenchmarkInternal() 219 std::vector<Benchmark::Instance>* benchmarks, in FindBenchmarksInternal() [all …]
|
/external/skia/bench/ |
D | Benchmark.cpp | 18 Benchmark::Benchmark() { in Benchmark() function in Benchmark 24 const char* Benchmark::getName() { in getName() 28 const char* Benchmark::getUniqueName() { in getUniqueName() 32 SkIPoint Benchmark::getSize() { in getSize() 36 void Benchmark::delayedSetup() { in delayedSetup() 40 void Benchmark::perCanvasPreDraw(SkCanvas* canvas) { in perCanvasPreDraw() 44 void Benchmark::preDraw(SkCanvas* canvas) { in preDraw() 48 void Benchmark::postDraw(SkCanvas* canvas) { in postDraw() 52 void Benchmark::perCanvasPostDraw(SkCanvas* canvas) { in perCanvasPostDraw() 56 void Benchmark::draw(int loops, SkCanvas* canvas) { in draw() [all …]
|
D | RefCntBench.cpp | 17 class AtomicInc32 : public Benchmark { 38 typedef Benchmark INHERITED; 41 class RefCntBench_Stack : public Benchmark { 63 typedef Benchmark INHERITED; 75 class RefCntBench_Heap : public Benchmark { 99 typedef Benchmark INHERITED; 102 class RefCntBench_New : public Benchmark { 125 typedef Benchmark INHERITED; 130 class WeakRefCntBench_Stack : public Benchmark { 152 typedef Benchmark INHERITED; [all …]
|
/external/skqp/bench/ |
D | Benchmark.cpp | 18 Benchmark::Benchmark() { in Benchmark() function in Benchmark 24 const char* Benchmark::getName() { in getName() 28 const char* Benchmark::getUniqueName() { in getUniqueName() 32 SkIPoint Benchmark::getSize() { in getSize() 36 void Benchmark::delayedSetup() { in delayedSetup() 40 void Benchmark::perCanvasPreDraw(SkCanvas* canvas) { in perCanvasPreDraw() 44 void Benchmark::preDraw(SkCanvas* canvas) { in preDraw() 48 void Benchmark::postDraw(SkCanvas* canvas) { in postDraw() 52 void Benchmark::perCanvasPostDraw(SkCanvas* canvas) { in perCanvasPostDraw() 56 void Benchmark::draw(int loops, SkCanvas* canvas) { in draw() [all …]
|
D | RefCntBench.cpp | 17 class AtomicInc32 : public Benchmark { 38 typedef Benchmark INHERITED; 41 class RefCntBench_Stack : public Benchmark { 63 typedef Benchmark INHERITED; 75 class RefCntBench_Heap : public Benchmark { 99 typedef Benchmark INHERITED; 102 class RefCntBench_New : public Benchmark { 125 typedef Benchmark INHERITED; 130 class WeakRefCntBench_Stack : public Benchmark { 152 typedef Benchmark INHERITED; [all …]
|
D | ImageFilterDAGBench.cpp | 21 class ImageFilterDAGBench : public Benchmark { 48 typedef Benchmark INHERITED; 51 class ImageMakeWithFilterDAGBench : public Benchmark { 87 typedef Benchmark INHERITED; 92 class ImageFilterDisplacedBlur : public Benchmark { 118 typedef Benchmark INHERITED; 122 class ImageFilterXfermodeIn : public Benchmark { 144 typedef Benchmark INHERITED;
|
/external/tensorflow/tensorflow/core/platform/default/ |
D | test_benchmark.cc | 31 static std::vector<Benchmark*>* all_benchmarks = nullptr; 39 Benchmark::Benchmark(const char* name, void (*fn)(int)) in Benchmark() function in tensorflow::testing::Benchmark 45 Benchmark::Benchmark(const char* name, void (*fn)(int, int)) in Benchmark() function in tensorflow::testing::Benchmark 50 Benchmark::Benchmark(const char* name, void (*fn)(int, int, int)) in Benchmark() function in tensorflow::testing::Benchmark 55 Benchmark* Benchmark::Arg(int x) { in Arg() 61 Benchmark* Benchmark::ArgPair(int x, int y) { in ArgPair() 91 Benchmark* Benchmark::Range(int lo, int hi) { in Range() 100 Benchmark* Benchmark::RangePair(int lo1, int hi1, int lo2, int hi2) { in RangePair() 113 void Benchmark::Run(const char* pattern) { in Run() 187 s = reporter.Benchmark(iters, 0.0, seconds, in Run() [all …]
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_bench.cc | 25 static void Benchmark() { in Benchmark() function 36 Benchmark<uint8_t, noinstr>(); in TEST() 40 Benchmark<uint8_t, __tsan_read1>(); in TEST() 44 Benchmark<uint8_t, __tsan_write1>(); in TEST() 48 Benchmark<uint16_t, noinstr>(); in TEST() 52 Benchmark<uint16_t, __tsan_read2>(); in TEST() 56 Benchmark<uint16_t, __tsan_write2>(); in TEST() 60 Benchmark<uint32_t, noinstr>(); in TEST() 64 Benchmark<uint32_t, __tsan_read4>(); in TEST() 68 Benchmark<uint32_t, __tsan_write4>(); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/platform/ |
D | test_benchmark.h | 31 static ::tensorflow::testing::Benchmark* TF_BENCHMARK_CONCAT( \ 33 (new ::tensorflow::testing::Benchmark(#n, (n))) 44 using ::testing::Benchmark; 48 class Benchmark { 50 Benchmark(const char* name, void (*fn)(int)); 51 Benchmark(const char* name, void (*fn)(int, int)); 52 Benchmark(const char* name, void (*fn)(int, int, int)); 54 Benchmark* Arg(int x); 55 Benchmark* ArgPair(int x, int y); 56 Benchmark* Range(int lo, int hi); [all …]
|
/external/google-benchmark/include/benchmark/ |
D | benchmark.h | 276 class Benchmark; variable 284 Benchmark* RegisterBenchmarkInternal(Benchmark*); 663 class Benchmark { 665 virtual ~Benchmark(); 673 Benchmark* Arg(int x); 676 Benchmark* Unit(TimeUnit unit); 681 Benchmark* Range(int start, int limit); 686 Benchmark* DenseRange(int start, int limit, int step = 1); 691 Benchmark* Args(const std::vector<int>& args); 696 Benchmark* ArgPair(int x, int y) { in ArgPair() [all …]
|
/external/libcxx/utils/google-benchmark/include/benchmark/ |
D | benchmark.h | 276 class Benchmark; variable 284 Benchmark* RegisterBenchmarkInternal(Benchmark*); 663 class Benchmark { 665 virtual ~Benchmark(); 673 Benchmark* Arg(int x); 676 Benchmark* Unit(TimeUnit unit); 681 Benchmark* Range(int start, int limit); 686 Benchmark* DenseRange(int start, int limit, int step = 1); 691 Benchmark* Args(const std::vector<int>& args); 696 Benchmark* ArgPair(int x, int y) { in ArgPair() [all …]
|
/external/caliper/examples/src/main/java/examples/ |
D | StringBuilderBenchmark.java | 21 import com.google.caliper.Benchmark; 31 @Benchmark void appendBoolean(int reps) { in appendBoolean() 42 @Benchmark void appendChar(int reps) { in appendChar() 51 @Benchmark void appendCharArray(int reps) { in appendCharArray() 61 @Benchmark void appendCharSequence(int reps) { in appendCharSequence() 71 @Benchmark void appendDouble(int reps) { in appendDouble() 81 @Benchmark void appendFloat(int reps) { in appendFloat() 91 @Benchmark void appendInt(int reps) { in appendInt() 101 @Benchmark void appendLong(int reps) { in appendLong() 111 @Benchmark void appendObject(int reps) { in appendObject() [all …]
|
D | CharacterBenchmark.java | 20 import com.google.caliper.Benchmark; 54 @Benchmark boolean isSpace(int reps) { in isSpace() 72 @Benchmark void digit(int reps) { in digit() 88 @Benchmark void getNumericValue(int reps) { in getNumericValue() 104 @Benchmark void isDigit(int reps) { in isDigit() 120 @Benchmark void isIdentifierIgnorable(int reps) { in isIdentifierIgnorable() 136 @Benchmark void isJavaIdentifierPart(int reps) { in isJavaIdentifierPart() 152 @Benchmark void isJavaIdentifierStart(int reps) { in isJavaIdentifierStart() 168 @Benchmark void isLetter(int reps) { in isLetter() 184 @Benchmark void isLetterOrDigit(int reps) { in isLetterOrDigit() [all …]
|
D | ExpensiveObjectsBenchmark.java | 19 import com.google.caliper.Benchmark; 30 @Benchmark void newDecimalFormatSymbols(int reps) { in newDecimalFormatSymbols() 36 @Benchmark void clonedDecimalFormatSymbols(int reps) { in clonedDecimalFormatSymbols() 43 @Benchmark void newNumberFormat(int reps) { in newNumberFormat() 49 @Benchmark void clonedNumberFormat(int reps) { in clonedNumberFormat() 56 @Benchmark void newSimpleDateFormat(int reps) { in newSimpleDateFormat() 62 @Benchmark void clonedSimpleDateFormat(int reps) { in clonedSimpleDateFormat()
|
D | FormatterBenchmark.java | 19 import com.google.caliper.Benchmark; 26 @Benchmark void formatter_NoFormatting(int reps) { in formatter_NoFormatting() 34 @Benchmark void stringBuilder_NoFormatting(int reps) { in stringBuilder_NoFormatting() 41 @Benchmark void formatter_OneInt(int reps) { in formatter_OneInt() 49 @Benchmark void stringBuilder_OneInt(int reps) { in stringBuilder_OneInt() 58 @Benchmark void formatter_OneString(int reps) { in formatter_OneString() 66 @Benchmark void stringBuilder_OneString(int reps) { in stringBuilder_OneString()
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
D | IteratorBenchmark.java | 20 import com.google.caliper.Benchmark; 52 @Benchmark int arrayIndexed(int reps) { in arrayIndexed() 62 @Benchmark int arrayIndexedLength(int reps) { in arrayIndexedLength() 72 @Benchmark int arrayFor(int reps) { in arrayFor() 82 @Benchmark int arrayListIndexed(int reps) { in arrayListIndexed() 92 @Benchmark int arrayListIndexedLength(int reps) { in arrayListIndexedLength() 102 @Benchmark int arrayListFor(int reps) { in arrayListFor() 112 @Benchmark int arrayListToArrayFor(int reps) { in arrayListToArrayFor() 122 @Benchmark int linkedListFor(int reps) { in linkedListFor() 132 @Benchmark int linkedListToArrayFor(int reps) { in linkedListToArrayFor()
|
/external/eigen/bench/tensors/ |
D | benchmark.h | 21 class Benchmark { 23 Benchmark(const char* name, void (*fn)(int)) { in Benchmark() function 26 Benchmark(const char* name, void (*fn_range)(int, int)) { in Benchmark() function 29 Benchmark* Arg(int x); 30 Benchmark* Range(int lo, int hi); 48 static ::testing::Benchmark* _benchmark_##f __attribute__((unused)) = \ 49 (new ::testing::Benchmark(#f, f))
|
D | benchmark_main.cc | 29 typedef std::map<std::string, ::testing::Benchmark*> BenchmarkMap; 74 Benchmark* Benchmark::Arg(int arg) { in Arg() 79 Benchmark* Benchmark::Range(int lo, int hi) { in Range() 95 const char* Benchmark::Name() { in Name() 98 bool Benchmark::ShouldRun(int argc, char* argv[]) { in ShouldRun() 118 void Benchmark::Register(const char* name, void (*fn)(int), void (*fn_range)(int, int)) { in Register() 128 void Benchmark::Run() { in Run() 141 void Benchmark::RunRepeatedlyWithArg(int iterations, int arg) { in RunRepeatedlyWithArg() 154 void Benchmark::RunWithArg(int arg) { in RunWithArg() 218 ::testing::Benchmark* b = it->second; in main()
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
D | MalformedBenchmarksTest.java | 22 import com.google.caliper.Benchmark; 78 @Benchmark void timeIt(int reps) {} in timeIt() 96 @Benchmark public static void timeIt(int reps) {} in timeIt() 106 @Benchmark void timeIt(Integer reps) {} in timeIt() 111 @Benchmark void timeIt(int reps, int what) {} in timeIt() 124 @Benchmark public void foo(long reps) {} in foo() 125 @Benchmark public void foo(int reps) {} in foo() 126 @Benchmark public void bar(long reps) {} in bar() 127 @Benchmark public void bar(int reps) {} in bar() 128 @Benchmark public void baz(int reps) {} in baz()
|
/external/caliper/tutorial/ |
D | Tutorial.java | 20 import com.google.caliper.Benchmark; 53 @Benchmark void timeNanoTime(int reps) { in timeNanoTime() 74 @Benchmark void timeNanoTime(int reps) { in timeNanoTime() 79 @Benchmark void timeCurrentTimeMillis(int reps) { in timeCurrentTimeMillis() 94 @Benchmark void timeArrayIteration_BAD(int reps) { in timeArrayIteration_BAD() 130 @Benchmark int timeArrayIteration_fixed(int reps) { in timeArrayIteration_fixed() 178 @Benchmark int timeArrayIteration(int reps) { in timeArrayIteration()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | cast_op_test.cc | 99 test::Benchmark("cpu", Cast<float, int64>(num)).Run(iters); in TEST_ALL_CASTS_FROM() 109 test::Benchmark("gpu", Cast<float, int64>(num)).Run(iters); in BM_gpu_float_int64() 112 test::Benchmark("sycl", Cast<float, int64>(num)).Run(iters); in BM_gpu_float_int64() 122 test::Benchmark("cpu", Cast<bool, float>(num)).Run(iters); in BM_cpu_bool_float() 132 test::Benchmark("gpu", Cast<bool, float>(num)).Run(iters); in BM_gpu_bool_float() 135 test::Benchmark("sycl", Cast<bool, float>(num)).Run(iters); in BM_gpu_bool_float() 145 test::Benchmark("cpu", Cast<float, bfloat16>(num)).Run(iters); in BM_cpu_float_bfloat16() 154 test::Benchmark("cpu", Cast<bfloat16, float>(num)).Run(iters); in BM_cpu_bfloat16_float() 163 test::Benchmark("cpu", Cast<float, Eigen::half>(num)).Run(iters); in BM_cpu_float_half() 172 test::Benchmark("cpu", Cast<Eigen::half, float>(num)).Run(iters); in BM_cpu_half_float() [all …]
|
/external/guava/guava-tests/benchmark/com/google/common/cache/ |
D | MapMakerComparisonBenchmark.java | 20 import com.google.caliper.Benchmark; 57 @Benchmark void computingMapMaker(int rep) { in computingMapMaker() 63 @Benchmark void loadingCacheBuilder_stats(int rep) { in loadingCacheBuilder_stats() 69 @Benchmark void loadingCacheBuilder(int rep) { in loadingCacheBuilder() 75 @Benchmark void concurrentHashMap(int rep) { in concurrentHashMap() 81 @Benchmark void cacheBuilder_stats(int rep) { in cacheBuilder_stats() 87 @Benchmark void cacheBuilder(int rep) { in cacheBuilder()
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
D | LessThanBenchmark.java | 20 import com.google.caliper.Benchmark; 64 @Benchmark int branchFreeLtIntInlined(int reps) { in branchFreeLtIntInlined() 76 @Benchmark int branchFreeLtInt(int reps) { in branchFreeLtInt() 88 @Benchmark int ternaryLtIntAddOutsideTernary(int reps) { in ternaryLtIntAddOutsideTernary() 100 @Benchmark int ternaryLtIntAddInsideTernary(int reps) { in ternaryLtIntAddInsideTernary() 112 @Benchmark int branchFreeLtLongInlined(int reps) { in branchFreeLtLongInlined() 124 @Benchmark int branchFreeLtLong(int reps) { in branchFreeLtLong() 136 @Benchmark int ternaryLtLongAddOutsideTernary(int reps) { in ternaryLtLongAddOutsideTernary() 148 @Benchmark int ternaryLtLongAddInsideTernary(int reps) { in ternaryLtLongAddInsideTernary()
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
D | JoinerBenchmark.java | 20 import com.google.caliper.Benchmark; 56 @Benchmark int joinerWithStringDelimiter(int reps) { in joinerWithStringDelimiter() 67 @Benchmark int joinerWithCharacterDelimiter(int reps) { in joinerWithCharacterDelimiter() 79 @Benchmark int joinerInlined(int reps) { in joinerInlined() 101 @Benchmark int stringBuilderIsEmpty(int reps) { in stringBuilderIsEmpty() 120 @Benchmark int booleanIfFirst(int reps) { in booleanIfFirst() 141 @Benchmark int assignDelimiter(int reps) { in assignDelimiter() 160 @Benchmark int alwaysAppendThenBackUp(int reps) { in alwaysAppendThenBackUp()
|