moved stuff from chatterino to appbase

This commit is contained in:
fourtf
2018-11-23 17:51:55 +01:00
parent 41a07a43af
commit a9ca33f431
16 changed files with 3 additions and 844 deletions
-22
View File
@@ -1,22 +0,0 @@
#pragma once
#include "debug/Log.hpp"
#include <QElapsedTimer>
#include <boost/noncopyable.hpp>
namespace chatterino {
class BenchmarkGuard : boost::noncopyable
{
public:
BenchmarkGuard(const QString &_name);
~BenchmarkGuard();
qreal getElapsedMs();
private:
QElapsedTimer timer_;
QString name_;
};
} // namespace chatterino