NFFT  3.3.1
ticks.h
00001 /*
00002  * Copyright (c) 2002, 2016 Jens Keiner, Stefan Kunis, Daniel Potts
00003  *
00004  * This program is free software; you can redistribute it and/or modify it under
00005  * the terms of the GNU General Public License as published by the Free Software
00006  * Foundation; either version 2 of the License, or (at your option) any later
00007  * version.
00008  *
00009  * This program is distributed in the hope that it will be useful, but WITHOUT
00010  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00011  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
00012  * details.
00013  *
00014  * You should have received a copy of the GNU General Public License along with
00015  * this program; if not, write to the Free Software Foundation, Inc., 51
00016  * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00017  */
00018 
00019 #ifndef TICKS_H_
00020 #define TICKS_H_
00021 
00022 #include "cycle.h"
00023 
00024 #define TICKS_PER_SECOND 2800407465.0
00025 
00026 #ifndef HAVE_TICK_COUNTER
00027   typedef unsigned ticks;
00028   #define getticks() 0U;
00029   INLINE_ELAPSED(__inline__)
00030 #endif
00031 
00032 #endif /* TICKS_H_ */