Searched refs:sysfd (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/tests/checkasm/ |
D | checkasm.h | 222 int sysfd; member 231 ioctl(sysfd, PERF_EVENT_IOC_RESET, 0); \ 232 ioctl(sysfd, PERF_EVENT_IOC_ENABLE, 0); \ 235 ioctl(sysfd, PERF_EVENT_IOC_DISABLE, 0); \ 236 read(sysfd, &t, sizeof(t)); \ 248 av_unused const int sysfd = perf->sysfd;\
|
D | checkasm.c | 280 int sysfd; member 480 av_unused const int sysfd = state.sysfd; in measure_nop_time() local 633 state.sysfd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, 0); in bench_init_linux() 634 if (state.sysfd == -1) { in bench_init_linux() 673 if (state.sysfd > 0) in bench_uninit() 674 close(state.sysfd); in bench_uninit() 815 perf->sysfd = state.sysfd; in checkasm_get_perf_context()
|