1/* -*- C++ -*-
2 This file is part of ThreadWeaver.
3
4 SPDX-FileCopyrightText: 2005-2014 Mirko Boehm <mirko@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#ifndef BENCHMARK_H
10#define BENCHMARK_H
11
12#include <QFileInfoList>
13#include <QObject>
14
15/*!
16 * \class Benchmark
17 *
18 * \inmodule ThreadWeaver
19 */
20class Benchmark : public QObject
21{
22 Q_OBJECT
23private Q_SLOTS:
24 /*!
25 */
26 void processThumbNailsAsBenchmarkInLoop();
27 /*!
28 */
29 void processThumbNailsAsBenchmarkWithThreadWeaver();
30
31private:
32 /*!
33 */
34 const QFileInfoList images();
35};
36
37#endif // BENCHMARK_H
38

source code of threadweaver/examples/ThumbNailer/Benchmark.h