diff options
author | Ioannis Christoforidis | 2021-03-23 09:11:12 +0100 |
---|---|---|
committer | Ioannis Christoforidis | 2021-03-23 09:11:12 +0100 |
commit | a9b5df0056be8d6dda8151cff0d6f84ed4f0209c (patch) | |
tree | acc7a435ef2512e88634cb2393b16ffb03aa599a /src/copythread.cpp | |
parent | Disable Network Interface Refresh Button during test (diff) | |
download | speedcheck-a9b5df0056be8d6dda8151cff0d6f84ed4f0209c.tar.gz speedcheck-a9b5df0056be8d6dda8151cff0d6f84ed4f0209c.tar.xz speedcheck-a9b5df0056be8d6dda8151cff0d6f84ed4f0209c.zip |
trivial console mode implemented
Diffstat (limited to 'src/copythread.cpp')
-rw-r--r-- | src/copythread.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/copythread.cpp b/src/copythread.cpp index 69b5950..44fe39d 100644 --- a/src/copythread.cpp +++ b/src/copythread.cpp @@ -30,7 +30,7 @@ void CopyThread::stop() void CopyThread::run() { - qDebug() << "Entering run method"; + // qDebug() << "Entering run method"; char *buffer = new char[BUFFER_SIZE]; QElapsedTimer timer; qint64 ret; @@ -41,6 +41,7 @@ void CopyThread::run() // Sequential read emit logMessage(trUtf8("Starting sequential read test")); + printf("Starting sequential read test\n"); if (size > 0) { _file->seek(BIGRAND % size); } @@ -68,7 +69,7 @@ void CopyThread::run() if (size > 0) { printf("\n"); fflush(stdout); - emit logMessage(trUtf8("Starting random read test")); + emit logMessage(trUtf8("Starting random read test\n")); timer.restart(); do { _file->seek(BIGRAND % size); |