Home
last modified time | relevance | path

Searched refs:Benchmark (Results 1 – 25 of 802) sorted by relevance

12345678910>>...33

/external/google-benchmark/src/
Dbenchmark_register.cc73 size_t AddBenchmark(std::unique_ptr<Benchmark> family);
87 std::vector<std::unique_ptr<Benchmark>> families_;
96 size_t BenchmarkFamilies::AddBenchmark(std::unique_ptr<Benchmark> family) { in AddBenchmark()
131 for (std::unique_ptr<Benchmark>& family : families_) { in FindBenchmarks()
223 Benchmark* RegisterBenchmarkInternal(Benchmark* bench) { in RegisterBenchmarkInternal()
224 std::unique_ptr<Benchmark> bench_ptr(bench); in RegisterBenchmarkInternal()
242 Benchmark::Benchmark(const char* name) in Benchmark() function in benchmark::internal::Benchmark
259 Benchmark::~Benchmark() {} in ~Benchmark()
261 Benchmark* Benchmark::Arg(int64_t x) { in Arg()
267 Benchmark* Benchmark::Unit(TimeUnit unit) { in Unit()
[all …]
/external/libcxx/utils/google-benchmark/src/
Dbenchmark_register.cc73 size_t AddBenchmark(std::unique_ptr<Benchmark> family);
87 std::vector<std::unique_ptr<Benchmark>> families_;
96 size_t BenchmarkFamilies::AddBenchmark(std::unique_ptr<Benchmark> family) { in AddBenchmark()
131 for (std::unique_ptr<Benchmark>& family : families_) { in FindBenchmarks()
223 Benchmark* RegisterBenchmarkInternal(Benchmark* bench) { in RegisterBenchmarkInternal()
224 std::unique_ptr<Benchmark> bench_ptr(bench); in RegisterBenchmarkInternal()
242 Benchmark::Benchmark(const char* name) in Benchmark() function in benchmark::internal::Benchmark
259 Benchmark::~Benchmark() {} in ~Benchmark()
261 Benchmark* Benchmark::Arg(int64_t x) { in Arg()
267 Benchmark* Benchmark::Unit(TimeUnit unit) { in Unit()
[all …]
/external/skia/bench/
DBenchmark.cpp16 Benchmark::Benchmark() {} in Benchmark() function in Benchmark
18 const char* Benchmark::getName() { in getName()
22 const char* Benchmark::getUniqueName() { in getUniqueName()
26 SkIPoint Benchmark::getSize() { in getSize()
30 void Benchmark::delayedSetup() { in delayedSetup()
34 void Benchmark::perCanvasPreDraw(SkCanvas* canvas) { in perCanvasPreDraw()
38 void Benchmark::preDraw(SkCanvas* canvas) { in preDraw()
42 void Benchmark::postDraw(SkCanvas* canvas) { in postDraw()
46 void Benchmark::perCanvasPostDraw(SkCanvas* canvas) { in perCanvasPostDraw()
50 void Benchmark::draw(int loops, SkCanvas* canvas) { in draw()
[all …]
DRefCntBench.cpp17 class RefCntBench_Stack : public Benchmark {
39 typedef Benchmark INHERITED;
51 class RefCntBench_Heap : public Benchmark {
75 typedef Benchmark INHERITED;
78 class RefCntBench_New : public Benchmark {
101 typedef Benchmark INHERITED;
106 class WeakRefCntBench_Stack : public Benchmark {
128 typedef Benchmark INHERITED;
137 class WeakRefCntBench_Heap : public Benchmark {
161 typedef Benchmark INHERITED;
[all …]
/external/skqp/bench/
DBenchmark.cpp16 Benchmark::Benchmark() {} in Benchmark() function in Benchmark
18 const char* Benchmark::getName() { in getName()
22 const char* Benchmark::getUniqueName() { in getUniqueName()
26 SkIPoint Benchmark::getSize() { in getSize()
30 void Benchmark::delayedSetup() { in delayedSetup()
34 void Benchmark::perCanvasPreDraw(SkCanvas* canvas) { in perCanvasPreDraw()
38 void Benchmark::preDraw(SkCanvas* canvas) { in preDraw()
42 void Benchmark::postDraw(SkCanvas* canvas) { in postDraw()
46 void Benchmark::perCanvasPostDraw(SkCanvas* canvas) { in perCanvasPostDraw()
50 void Benchmark::draw(int loops, SkCanvas* canvas) { in draw()
[all …]
DRefCntBench.cpp17 class RefCntBench_Stack : public Benchmark {
39 typedef Benchmark INHERITED;
51 class RefCntBench_Heap : public Benchmark {
75 typedef Benchmark INHERITED;
78 class RefCntBench_New : public Benchmark {
101 typedef Benchmark INHERITED;
106 class WeakRefCntBench_Stack : public Benchmark {
128 typedef Benchmark INHERITED;
137 class WeakRefCntBench_Heap : public Benchmark {
161 typedef Benchmark INHERITED;
[all …]
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_bench.cc25 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/default/
Dtest_benchmark.cc31 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/tensorflow/tensorflow/core/platform/
Dtest_benchmark.h31 static ::tensorflow::testing::Benchmark* TF_BENCHMARK_CONCAT( \
33 (new ::tensorflow::testing::Benchmark(#n, (n)))
44 using ::testing::Benchmark;
82 class Benchmark {
84 Benchmark(const char* name, void (*fn)(int));
85 Benchmark(const char* name, void (*fn)(int, int));
86 Benchmark(const char* name, void (*fn)(int, int, int));
88 Benchmark* Arg(int x);
89 Benchmark* ArgPair(int x, int y);
90 Benchmark* Range(int lo, int hi);
[all …]
/external/libcxx/utils/google-benchmark/include/benchmark/
Dbenchmark.h288 class Benchmark; variable
296 Benchmark* RegisterBenchmarkInternal(Benchmark*);
779 class Benchmark {
781 virtual ~Benchmark();
789 Benchmark* Arg(int64_t x);
792 Benchmark* Unit(TimeUnit unit);
797 Benchmark* Range(int64_t start, int64_t limit);
802 Benchmark* DenseRange(int64_t start, int64_t limit, int step = 1);
807 Benchmark* Args(const std::vector<int64_t>& args);
812 Benchmark* ArgPair(int64_t x, int64_t y) { in ArgPair()
[all …]
/external/google-benchmark/include/benchmark/
Dbenchmark.h288 class Benchmark; variable
296 Benchmark* RegisterBenchmarkInternal(Benchmark*);
779 class Benchmark {
781 virtual ~Benchmark();
789 Benchmark* Arg(int64_t x);
792 Benchmark* Unit(TimeUnit unit);
797 Benchmark* Range(int64_t start, int64_t limit);
802 Benchmark* DenseRange(int64_t start, int64_t limit, int step = 1);
807 Benchmark* Args(const std::vector<int64_t>& args);
812 Benchmark* ArgPair(int64_t x, int64_t y) { in ArgPair()
[all …]
/external/caliper/examples/src/main/java/examples/
DStringBuilderBenchmark.java21 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 …]
DCharacterBenchmark.java20 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 …]
DExpensiveObjectsBenchmark.java19 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()
DFormatterBenchmark.java19 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/
DIteratorBenchmark.java20 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/
Dbenchmark.h21 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))
Dbenchmark_main.cc29 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/grpc-grpc-java/core/src/jmh/java/io/grpc/
DStatusBenchmark.java21 import org.openjdk.jmh.annotations.Benchmark;
29 @State(Scope.Benchmark)
35 @Benchmark
45 @Benchmark
55 @Benchmark
66 @Benchmark
77 @Benchmark
87 @Benchmark
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DMalformedBenchmarksTest.java22 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/
DTutorial.java20 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/
Deigen_benchmark_cpu_test.cc40 using Benchmark = in SpatialConvolution() typedef
42 auto benchmark = Benchmark(iters, device); in SpatialConvolution()
44 typename Benchmark::Dimensions input_dims(input_batches, input_height, in SpatialConvolution()
46 typename Benchmark::Dimensions filter_dims(filter_height, filter_width, in SpatialConvolution()
69 using Benchmark = in SpatialConvolutionBackwardInput() typedef
71 auto benchmark = Benchmark(iters, device); in SpatialConvolutionBackwardInput()
73 typename Benchmark::Dimensions input_dims(input_batches, input_height, in SpatialConvolutionBackwardInput()
75 typename Benchmark::Dimensions filter_dims(filter_height, filter_width, in SpatialConvolutionBackwardInput()
97 using Benchmark = in SpatialConvolutionBackwardKernel() typedef
99 auto benchmark = Benchmark(iters, device); in SpatialConvolutionBackwardKernel()
[all …]
/external/opencensus-java/benchmarks/src/jmh/java/io/opencensus/benchmarks/trace/
DStartEndSpanBenchmark.java26 import org.openjdk.jmh.annotations.Benchmark;
37 @State(Scope.Benchmark)
41 @State(Scope.Benchmark)
71 @Benchmark
88 @Benchmark
105 @Benchmark
118 @Benchmark
135 @Benchmark
152 @Benchmark
/external/guava/guava-tests/benchmark/com/google/common/cache/
DMapMakerComparisonBenchmark.java20 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/
DLessThanBenchmark.java20 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()

12345678910>>...33