Home
last modified time | relevance | path

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

/system/vold/bench/
Dbenchgen.py128 with open("BenchmarkGen.h", 'w') as bench:
129 print >>bench, """/*
172 print >>bench, "char* buf = (char*) malloc(%d);" % (bufsize)
185 print >>bench, "if (!checkpoint(%d)) return -1;" % (50 + ((i * 50) / total))
192 print >>bench, "int",
198 print >>bench, '%s = TEMP_FAILURE_RETRY(open("file%s", %s%s));' \
205 print >>bench, 'close(%s);' % (handle)
210 … print >>bench, 'TEMP_FAILURE_RETRY(lseek(%s, %s, %s));' % (handle, e.args[1], e.args[2])
215 … print >>bench, 'TEMP_FAILURE_RETRY(lseek(%s, %s, %s));' % (handle, e.args[1], e.args[3])
223 print >>bench, 'TEMP_FAILURE_RETRY(read(%s, buf, %d));' % (handle, count)
[all …]
/system/keymint/ta/fuzz/
DCargo.toml27 bench = false qkey
/system/extras/zram-perf/
Dzram-perf.cpp129 int bench(bool direct) in bench() function
146 bench(1); in main()
/system/core/trusty/libtrusty/tipc-test/
Dtipc_test.c129 uint bench; member
147 params->bench = 0; in init_params()
201 params->bench = atoi(optarg); in parse_options()
1028 for (size_t i = 0; (i < params->bench + 1) && rc == 0; ++i) { in run_as_bench()
1042 avg /= params->bench; in run_as_bench()
1068 if (params.bench > 0) { in main()
1070 params.bench = 0; in main()
/system/memory/libdmabufheap/tests/
DAndroid.bp76 name: "dmabuf-heap-bench",