1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
benchmark_progs = [
'gem_blt',
'gem_busy',
'gem_create',
'gem_exec_ctx',
'gem_exec_fault',
'gem_exec_nop',
'gem_exec_reloc',
'gem_exec_trace',
'gem_latency',
'gem_mmap',
'gem_prw',
'gem_set_domain',
'gem_syslatency',
'kms_vblank',
'prime_lookup',
'vgem_mmap',
]
if libdrm_intel.found()
benchmark_progs += [
'intel_upload_blit_large',
'intel_upload_blit_large_gtt',
'intel_upload_blit_large_map',
'intel_upload_blit_small',
'gem_userptr_benchmark',
]
endif
benchmarksdir = join_paths(libexecdir, 'benchmarks')
foreach prog : benchmark_progs
executable(prog, prog + '.c',
install : true,
install_dir : benchmarksdir,
dependencies : igt_deps)
endforeach
executable('gem_wsim', 'gem_wsim.c',
install : true,
install_dir : benchmarksdir,
dependencies : igt_deps + [ lib_igt_perf ])
|