You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AppFlow/FlowApp/SystemChecker.cpp

14 lines
307 B
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#include "SystemChecker.h"
#include <QThread>
QStringList SystemChecker::check()
{
QStringList s;
//线程数检查最小是4
const int nThread = QThread::idealThreadCount();
if (nThread < 4)
s << QString("CPU thread count is %1, at least 4 !").arg(nThread);
return s;
}