/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...] |
/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))
|
benchmark_main.cpp | 17 #include "benchmark.h" 30 typedef std::map<std::string, ::testing::Benchmark*> BenchmarkMap; 57 Benchmark* Benchmark::Arg(int arg) { 62 const char* Benchmark::Name() { 66 bool Benchmark::ShouldRun(int argc, char* argv[]) { 87 void Benchmark::Register(const char* name, void (*fn)(int), void (*fn_range)(int, int)) { 100 void Benchmark::Run() { 114 void Benchmark::RunRepeatedlyWithArg(int iterations, int arg) { 128 void Benchmark::RunWithArg(int arg) [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))
|
benchmark.cc | 7 #include "util/benchmark.h" 12 using testing::Benchmark; 15 static Benchmark* benchmarks[10000]; 18 void Benchmark::Register() { 66 static void runN(Benchmark *b, int n, int siz) { 95 void RunBench(Benchmark* b, int nthread, int siz) { 146 Benchmark* b = benchmarks[i];
|
/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))
|
benchmark.cc | 7 #include "util/benchmark.h" 12 using testing::Benchmark; 15 static Benchmark* benchmarks[10000]; 18 void Benchmark::Register() { 66 static void runN(Benchmark *b, int n, int siz) { 95 void RunBench(Benchmark* b, int nthread, int siz) { 146 Benchmark* b = benchmarks[i];
|
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/ |
ComputeBench.java | 25 private Benchmark mBenchmark; 34 mBenchmark = new Benchmark(mRS, getResources());
|
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/ |
LatencyBench.java | 25 private Benchmark mBenchmark; 34 mBenchmark = new Benchmark(mRS, getResources());
|
Benchmark.java | 22 public class Benchmark implements Runnable { 28 public Benchmark(RenderScript rs, Resources res) {
|
/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/markdown/MarkdownTest/ |
MarkdownTest.pl | 13 use Benchmark; 18 my $time_start = new Benchmark; 90 my $time_end = new Benchmark; 92 print "Benchmark: ", timestr($time_diff), "\n";
|
/external/chromium_org/third_party/JSON/JSON-2.59/eg/ |
bench_decode.pl | 5 use Benchmark qw( cmpthese timethese ); 58 L<JSON::PP> and L<JSON::XS> decoding benchmark.
|
bench_encode.pl | 5 use Benchmark qw( cmpthese timethese ); 74 L<JSON::PP> and L<JSON::XS> encoding benchmark.
|
/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...] |
/external/libvpx/libvpx/examples/includes/geshi/geshi/ |
ruby.php | 71 'Abbrev', 'ArgumentError', 'Base64', 'Benchmark', 72 'Benchmark::Tms', 'Bignum', 'Binding', 'CGI', 'CGI::Cookie',
|
/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);
|
/libcore/benchmarks/src/benchmarks/regression/ |
ExpensiveObjectsBenchmark.java | 19 import com.google.caliper.Benchmark;
|
/external/chromium_org/native_client_sdk/src/examples/demo/earth/ |
example.js | 18 document.getElementById('benchmark').addEventListener('click', 20 common.naclModule.postMessage({'message' : 'run benchmark'}); 66 // benchmark result 68 console.log('Benchmark result:' + result);
|
/external/chromium_org/tools/page_cycler/webpagereplay/ |
start.js | 51 console.log('Benchmark stuck? Reloading.');
|
/external/bison/etc/ |
bench.pl.in | 21 use Benchmark qw (:all);
|
/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...] |