Xenomai 3.3.2
Loading...
Searching...
No Matches
testing.h
1/*
2 * Copyright (C) 2005 Jan Kiszka <jan.kiszka@web.de>
3 *
4 * Xenomai is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * Xenomai is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with Xenomai; if not, write to the Free Software Foundation,
16 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 */
18#ifndef _COBALT_RTDM_TESTING_H
19#define _COBALT_RTDM_TESTING_H
20
21#include <rtdm/rtdm.h>
22#include <rtdm/uapi/testing.h>
23
24#ifdef CONFIG_XENO_ARCH_SYS3264
25
26#include <rtdm/compat.h>
27
28struct compat_rttst_overall_bench_res {
29 struct rttst_bench_res result;
30 compat_uptr_t histogram_avg;
31 compat_uptr_t histogram_min;
32 compat_uptr_t histogram_max;
33};
34
35struct compat_rttst_heap_stathdr {
36 int nrstats;
37 compat_uptr_t buf;
38};
39
40#define RTTST_RTIOC_TMBENCH_STOP_COMPAT \
41 _IOWR(RTIOC_TYPE_TESTING, 0x11, struct compat_rttst_overall_bench_res)
42
43#endif /* CONFIG_XENO_ARCH_SYS3264 */
44
45#endif /* !_COBALT_RTDM_TESTING_H */
Real-Time Driver Model for Xenomai, testing device profile header.