File indexing completed on 2024-05-12 04:02:23
0001 /* -*- C++ -*- 0002 This file is part of ThreadWeaver. 0003 0004 SPDX-FileCopyrightText: 2005-2014 Mirko Boehm <mirko@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #ifndef BENCHMARK_H 0010 #define BENCHMARK_H 0011 0012 #include <QFileInfoList> 0013 #include <QObject> 0014 0015 class Benchmark : public QObject 0016 { 0017 Q_OBJECT 0018 private Q_SLOTS: 0019 void processThumbNailsAsBenchmarkInLoop(); 0020 void processThumbNailsAsBenchmarkWithThreadWeaver(); 0021 0022 private: 0023 const QFileInfoList images(); 0024 }; 0025 0026 #endif // BENCHMARK_H