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 | */ |
20 | class Benchmark : public QObject |
21 | { |
22 | Q_OBJECT |
23 | private Q_SLOTS: |
24 | /*! |
25 | */ |
26 | void processThumbNailsAsBenchmarkInLoop(); |
27 | /*! |
28 | */ |
29 | void processThumbNailsAsBenchmarkWithThreadWeaver(); |
30 | |
31 | private: |
32 | /*! |
33 | */ |
34 | const QFileInfoList images(); |
35 | }; |
36 | |
37 | #endif // BENCHMARK_H |
38 | |