1 /*
2 
3 Copyright (C) 2008-2015 Michele Martone
4 
5 This file is part of librsb.
6 
7 librsb is free software; you can redistribute it and/or modify it
8 under the terms of the GNU Lesser General Public License as published
9 by the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
11 
12 librsb is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
15 License for more details.
16 
17 You should have received a copy of the GNU Lesser General Public
18 License along with librsb; see the file COPYING.
19 If not, see <http://www.gnu.org/licenses/>.
20 
21 */
22 /* @cond INNERDOC */
23 /**
24  * @file
25  * @author Michele Martone
26  * @brief Floating point microbenchmarks.
27  */
28 
29 #ifndef RSB_FPB_H_INCLUDED
30 #define RSB_FPB_H_INCLUDED
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif /* __cplusplus */
35 #include "rsb.h"		/* public API specification */
36 
37 #define RSB_FPBENCH_TIME  2.0	/* min time for performing a floating point performance test on a type array  */
38 #define RSB_FPBENCH_MULTITYPE_TIME  ((RSB_FPBENCH_TIME)*(RSB_IMPLEMENTED_TYPES))	/* min time for performing a floating point performance test  */
39 rsb_err_t rsb__fp_benchmark(void);
40 
41 #ifdef __cplusplus
42 }
43 #endif  /* __cplusplus */
44 
45 #endif /* RSB_FPB_H_INCLUDED */
46 /* @endcond */
47