| NFFT 3.5.0

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

ticks.h
1 /*
2 * Copyright (c) 2002, 2017 Jens Keiner, Stefan Kunis, Daniel Potts
3 *
4 * This program is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU General Public License as published by the Free Software
6 * Foundation; either version 2 of the License, or (at your option) any later
7 * version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12 * details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc., 51
16 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */
18
19 #ifndef TICKS_H_
20 #define TICKS_H_
21
22 #include "cycle.h"
23
24 #define TICKS_PER_SECOND 2600307084.0
25
26 #ifndef HAVE_TICK_COUNTER
27 typedef unsigned ticks;
28 #define getticks() 0U;
29 INLINE_ELAPSED(__inline__)
30 #endif
31
32 #endif /* TICKS_H_ */