TestSpeed.h Example File
multimedia/spectrum/3rdparty/fftreal/TestSpeed.h
#if ! defined (TestSpeed_HEADER_INCLUDED)
#define TestSpeed_HEADER_INCLUDED
#if defined (_MSC_VER)
#pragma once
#pragma warning (4 : 4250) // "Inherits via dominance."
#endif
template <class FO>
class TestSpeed
{
public:
typedef typename FO::DataType DataType;
static int perform_test_single_object (FO &fft);
static int perform_test_d (FO &fft, const char *class_name_0);
static int perform_test_i (FO &fft, const char *class_name_0);
static int perform_test_di (FO &fft, const char *class_name_0);
protected:
private:
enum { NBR_SPD_TESTS = 10 * 1000 * 1000 };
enum { MAX_NBR_TESTS = 10000 };
private:
TestSpeed ();
~TestSpeed ();
TestSpeed (const TestSpeed &other);
TestSpeed & operator = (const TestSpeed &other);
bool operator == (const TestSpeed &other);
bool operator != (const TestSpeed &other);
};
#include "TestSpeed.hpp"
#endif // TestSpeed_HEADER_INCLUDED