Xenomai  3.0.8
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 
28 struct 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 
35 #define RTTST_RTIOC_TMBENCH_STOP_COMPAT \
36  _IOWR(RTIOC_TYPE_TESTING, 0x11, struct compat_rttst_overall_bench_res)
37 
38 #endif /* CONFIG_XENO_ARCH_SYS3264 */
39 
40 #endif /* !_COBALT_RTDM_TESTING_H */
Real-Time Driver Model for Xenomai, testing device profile header.