/external/chromium_org/chrome/common/extensions/docs/examples/extensions/benchmark/ |
background.js | 44 function addBenchmark(benchmark) { 45 benchmarks.push(benchmark); 56 function removeBenchmark(benchmark) { 59 if (benchmarks[index] == benchmark) { 127 function Benchmark() { 144 console.log("Benchmark testing url: " + url); 146 // Add this benchmark to the list of benchmarks running. 177 // Is the benchmark currently in progress. 182 // The url which this benchmark is running. 189 // If we're the last benchmark, close the window [all...] |
/bionic/tests/ |
benchmark.h | 23 class Benchmark { 25 Benchmark(const char* name, void (*fn)(int)) { 29 Benchmark(const char* name, void (*fn_range)(int, int)) { 33 Benchmark* Arg(int x); 59 #define BENCHMARK(f) \ 60 static ::testing::Benchmark* _benchmark_##f __attribute__((unused)) = \ 61 (new ::testing::Benchmark(#f, f))
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_bench.cc | 25 static void Benchmark() { 36 Benchmark<uint8_t, noinstr>(); 40 Benchmark<uint8_t, __tsan_read1>(); 44 Benchmark<uint8_t, __tsan_write1>(); 48 Benchmark<uint16_t, noinstr>(); 52 Benchmark<uint16_t, __tsan_read2>(); 56 Benchmark<uint16_t, __tsan_write2>(); 60 Benchmark<uint32_t, noinstr>(); 64 Benchmark<uint32_t, __tsan_read4>(); 68 Benchmark<uint32_t, __tsan_write4>() [all...] |
/external/chromium_org/third_party/re2/util/ |
benchmark.h | 9 struct Benchmark { 19 Benchmark(const char* name, void (*f)(int)) { Clear(name); fn = f; Register(); } 20 Benchmark(const char* name, void (*f)(int, int), int l, int h) { Clear(name); fnr = f; lo = l; hi = h; Register(); } 22 Benchmark* ThreadRange(int lo, int hi) { threadlo = lo; threadhi = hi; return this; } 34 #define BENCHMARK(f) \ 35 ::testing::Benchmark* _benchmark_##f = (new ::testing::Benchmark(#f, f)) 38 ::testing::Benchmark* _benchmark_##f = \ 39 (new ::testing::Benchmark(#f, f, lo, hi))
|
/external/regex-re2/util/ |
benchmark.h | 9 struct Benchmark { 19 Benchmark(const char* name, void (*f)(int)) { Clear(name); fn = f; Register(); } 20 Benchmark(const char* name, void (*f)(int, int), int l, int h) { Clear(name); fnr = f; lo = l; hi = h; Register(); } 22 Benchmark* ThreadRange(int lo, int hi) { threadlo = lo; threadhi = hi; return this; } 34 #define BENCHMARK(f) \ 35 ::testing::Benchmark* _benchmark_##f = (new ::testing::Benchmark(#f, f)) 38 ::testing::Benchmark* _benchmark_##f = \ 39 (new ::testing::Benchmark(#f, f, lo, hi))
|
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/ |
Benchmark.java | 22 public class Benchmark implements Runnable { 26 public Benchmark(RenderScript rs, Resources res) { 36 android.util.Log.v("ComputeBench", "Total benchmark took " + t + " ms");
|
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/ |
Benchmark.java | 22 public class Benchmark implements Runnable { 28 public Benchmark(RenderScript rs, Resources res) {
|
/external/chromium_org/third_party/leveldatabase/src/doc/bench/ |
db_bench_tree_db.cc | 63 // flag and also specify a benchmark that wants a fresh database, that 64 // benchmark will fail. 132 class Benchmark { 255 // Pretend at least one op was done in case we are running a benchmark 291 Benchmark() 313 ~Benchmark() { 379 fprintf(stderr, "unknown benchmark '%s'\n", name.ToString().c_str()); 525 leveldb::Benchmark benchmark; local 526 benchmark.Run() [all...] |
db_bench_sqlite3.cc | 68 // flag and also specify a benchmark that wants a fresh database, that 69 // benchmark will fail. 163 class Benchmark { 279 // Pretend at least one op was done in case we are running a benchmark 315 Benchmark() 338 ~Benchmark() { 408 fprintf(stderr, "unknown benchmark '%s'\n", name.ToString().c_str()); 715 leveldb::Benchmark benchmark; local 716 benchmark.Run() [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
base.js | 29 // Simple framework for running the benchmark suites and 33 // A benchmark has a name (string) and a function that will be run to 36 // running the benchmark, but the running time of these functions will 37 // not be accounted for in the benchmark score. 38 function Benchmark(name, run, setup, tearDown, minIterations) { 47 // Benchmark results hold the benchmark and the measured time used to 48 // run the benchmark. The benchmark score is computed later once a 49 // full benchmark suite has run to completion [all...] |
/external/chromium_org/v8/benchmarks/ |
base.js | 29 // Simple framework for running the benchmark suites and 33 // A benchmark has a name (string) and a function that will be run to 36 // running the benchmark, but the running time of these functions will 37 // not be accounted for in the benchmark score. 38 function Benchmark(name, run, setup, tearDown) { 46 // Benchmark results hold the benchmark and the measured time used to 47 // run the benchmark. The benchmark score is computed later once a 48 // full benchmark suite has run to completion [all...] |
/external/v8/benchmarks/ |
base.js | 29 // Simple framework for running the benchmark suites and 33 // A benchmark has a name (string) and a function that will be run to 36 // running the benchmark, but the running time of these functions will 37 // not be accounted for in the benchmark score. 38 function Benchmark(name, run, setup, tearDown) { 46 // Benchmark results hold the benchmark and the measured time used to 47 // run the benchmark. The benchmark score is computed later once a 48 // full benchmark suite has run to completion [all...] |
/external/chromium_org/net/websockets/ |
websocket_frame_test.cc | 24 // to benchmark the MaskWebSocketFramePayload() function. 360 void Benchmark(const char* const payload, size_t size) { 394 Benchmark(kShortPayload, arraysize(kShortPayload)); 400 Benchmark(payload.get(), kLongPayloadSize);
|
/external/chromium_org/skia/ext/ |
image_operations_bench.cc | 137 class Benchmark { 142 Benchmark() 161 const int Benchmark::kDefaultNumberIterations = 1024; 162 const skia::ImageOperations::ResizeMethod Benchmark::kDefaultResizeMethod = 166 void Benchmark::Usage() { 173 Benchmark::kDefaultNumberIterations, 174 MethodToString(Benchmark::kDefaultResizeMethod)); 179 bool Benchmark::ParseArgs(const CommandLine* command_line) { 229 // actual benchmark. 230 bool Benchmark::Run() const [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
db_bench.cc | 98 // flag and also specify a benchmark that wants a fresh database, that 99 // benchmark will fail. 240 // Pretend at least one op was done in case we are running a benchmark 268 // State shared by all concurrent executions of the same benchmark. 287 // Per-thread state for concurrent executions of the same benchmark. 302 class Benchmark { 389 Benchmark() 412 ~Benchmark() { 441 void (Benchmark::*method)(ThreadState*) = NULL; 447 method = &Benchmark::WriteSeq 976 leveldb::Benchmark benchmark; local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
bencher | 247 puts "that each benchmark/VM configuration is run in a single VM invocation, and" 249 puts "one benchmark polluting the running time of another. The fine-grained" 255 puts "VM invocation, and the number of VM invocations per benchmark. By default," 266 puts "--rerun <n> Set the number of iterations of the benchmark that" 270 puts "--outer <n> Set the number of runtime invocations for each benchmark." 306 puts "--local Also do a local benchmark run even when doing --remote." 780 result = plans.select{|v| v.suite.name == suiteName and v.benchmark.name == benchName and v.vm.name == vmName and v.iteration == iteration} 798 def benchmark method in class:ParsedResult 1113 def benchmark method in class:BenchRunPlan 1145 def benchmark method in class:BenchmarkOnVM 1220 def benchmark method in class:BenchPlan [all...] |
/libcore/benchmarks/libs/ |
caliper.jar | |