Home
last modified time | relevance | path

Searched refs:bench (Results 1 – 4 of 4) sorted by relevance

/system/extras/tests/memtest/
Dbandwidth.cpp93 BandwidthBenchmark *bench = NULL; in createBandwidthBenchmarkObject() local
101 bench = new CopyLdrdStrdBenchmark(); in createBandwidthBenchmarkObject()
103 bench = new CopyLdmiaStmiaBenchmark(); in createBandwidthBenchmarkObject()
105 bench = new CopyVld1Vst1Benchmark(); in createBandwidthBenchmarkObject()
107 bench = new CopyVldrVstrBenchmark(); in createBandwidthBenchmarkObject()
109 bench = new CopyVldmiaVstmiaBenchmark(); in createBandwidthBenchmarkObject()
111 bench = new MemcpyBenchmark(); in createBandwidthBenchmarkObject()
113 bench = new WriteStrdBenchmark(); in createBandwidthBenchmarkObject()
115 bench = new WriteStmiaBenchmark(); in createBandwidthBenchmarkObject()
117 bench = new WriteVst1Benchmark(); in createBandwidthBenchmarkObject()
[all …]
Dbandwidth.h43 bench(_num_warm_loops); in run()
46 bench(_num_loops); in run()
88 virtual void bench(size_t num_loops) = 0;
146 bench(1); in verify()
155 bench(2); in verify()
180 void bench(size_t num_loops) { in bench() function
234 void bench(size_t num_loops) { in bench() function
276 void bench(size_t num_loops) { in bench() function
304 void bench(size_t) { in bench()
321 void bench(size_t num_loops) { in bench() function
[all …]
/system/vold/bench/
Dbenchgen.py128 with open("BenchmarkGen.h", 'w') as bench:
129 print >>bench, """/*
170 print >>bench, "char* buf = (char*) malloc(%d);" % (bufsize)
184 print >>bench, "int ",
186 … print >>bench, '%s = TEMP_FAILURE_RETRY(open("file%s", %s));' % (handle, f.ident, e.args[2])
192 print >>bench, 'close(%s);' % (handle)
197 … print >>bench, 'TEMP_FAILURE_RETRY(lseek(%s, %s, %s));' % (handle, e.args[1], e.args[2])
202 … print >>bench, 'TEMP_FAILURE_RETRY(lseek(%s, %s, %s));' % (handle, e.args[1], e.args[3])
210 print >>bench, 'TEMP_FAILURE_RETRY(read(%s, buf, %d));' % (handle, count)
219 print >>bench, 'TEMP_FAILURE_RETRY(write(%s, buf, %d));' % (handle, count)
[all …]
/system/extras/zram-perf/
Dzram-perf.cpp120 int bench(bool direct) in bench() function
137 bench(1); in main()