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
15class Benchmark : public QObject
16{
17 Q_OBJECT
18private Q_SLOTS:
19 void processThumbNailsAsBenchmarkInLoop();
20 void processThumbNailsAsBenchmarkWithThreadWeaver();
21
22private:
23 const QFileInfoList images();
24};
25
26#endif // BENCHMARK_H
27

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