Files
pilotclient/samples/blackmisc/samplesperformance.h
Klaus Basan 1ff0cfa618 refs #386, further samples / performance tests
* especially impact of find performance on interpolator
2015-03-20 16:34:33 +01:00

43 lines
1.3 KiB
C++

/* Copyright (C) 2013
* swift Project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of Swift Project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
//! \file
#ifndef BLACKMISCTEST_SAMPLESPERFORMANCEINDEX_H
#define BLACKMISCTEST_SAMPLESPERFORMANCEINDEX_H
#include "blackmisc/avaircraftsituationlist.h"
#include <QTextStream>
namespace BlackMiscTest
{
//! Samples for our containers
class CSamplesPerformance
{
public:
//! Copy, create, RegEx
static int samplesMisc(QTextStream &out);
//! Impact of implementation type
static int samplesImplementationType(QTextStream &out, int numberOfCallsigns, int numberOfTimes);
//! Interpolator scenario
static int interpolatorScenario(QTextStream &out, int numberOfCallsigns, int numberOfTimes);
//! Situation values for testing
static BlackMisc::Aviation::CAircraftSituationList createSituations(qint64 baseTimeEpoch, int numberOfCallsigns, int numberOfTimes);
private:
static const qint64 DeltaTime = 10;
};
} // namespace
#endif