kis_fast_math_benchmark.h 1.04 KB
Newer Older
Cyrille Berger's avatar
Cyrille Berger committed
1 2 3
/*
 *  Copyright (c) 2010 Cyrille Berger <cberger@cberger.net>
 *
4
 *  This library is free software; you can redistribute it and/or modify
Cyrille Berger's avatar
Cyrille Berger committed
5
 *  it under the terms of the GNU Lesser General Public License as published by
6
 *  the Free Software Foundation; either version 2.1 of the License, or
Cyrille Berger's avatar
Cyrille Berger committed
7 8
 *  (at your option) any later version.
 *
9
 *  This library is distributed in the hope that it will be useful,
Cyrille Berger's avatar
Cyrille Berger committed
10 11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 *  GNU Lesser General Public License for more details.
Cyrille Berger's avatar
Cyrille Berger committed
13
 *
14
 *  You should have received a copy of the GNU Lesser General Public License
Cyrille Berger's avatar
Cyrille Berger committed
15 16 17 18 19 20 21
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */

#ifndef _KIS_FAST_MATH_BENCHMARK_H_
#define _KIS_FAST_MATH_BENCHMARK_H_

22
#include <QtTest>
Cyrille Berger's avatar
Cyrille Berger committed
23 24 25

class KisFastMathBenchmark : public QObject {
    Q_OBJECT
26
private Q_SLOTS:
Cyrille Berger's avatar
Cyrille Berger committed
27 28 29 30 31
    void benchmarkFastAtan2();
    void benchmarkLibCAtan2();
};

#endif