Raised limit for maximum number of parallel instances to 32.
This commit is contained in:
parent
dc98131fd1
commit
6eb4de942c
@ -154,7 +154,6 @@ copy /Y "$(SolutionDir)\..\Prerequisites\VisualLeakDetector\bin\Win32\*.manifest
|
|||||||
<ShowProgress>LinkVerboseLib</ShowProgress>
|
<ShowProgress>LinkVerboseLib</ShowProgress>
|
||||||
<Version>
|
<Version>
|
||||||
</Version>
|
</Version>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
<AssemblyDebug>
|
<AssemblyDebug>
|
||||||
</AssemblyDebug>
|
</AssemblyDebug>
|
||||||
<GenerateMapFile>false</GenerateMapFile>
|
<GenerateMapFile>false</GenerateMapFile>
|
||||||
@ -172,6 +171,7 @@ copy /Y "$(SolutionDir)\..\Prerequisites\VisualLeakDetector\bin\Win32\*.manifest
|
|||||||
</CreateHotPatchableImage>
|
</CreateHotPatchableImage>
|
||||||
<AdditionalLibraryDirectories>$(QTDIR)\lib;$(QTDIR)\plugins\imageformats;$(SolutionDir)\..\Prerequisites\VisualLeakDetector\lib\Win32;$(SolutionDir)\etc\Prerequisites\keccak\lib\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(QTDIR)\lib;$(QTDIR)\plugins\imageformats;$(SolutionDir)\..\Prerequisites\VisualLeakDetector\lib\Win32;$(SolutionDir)\etc\Prerequisites\keccak\lib\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
|
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
|
||||||
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Message>
|
<Message>
|
||||||
|
@ -1509,8 +1509,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>602</width>
|
<width>613</width>
|
||||||
<height>1750</height>
|
<height>1759</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_22">
|
<layout class="QGridLayout" name="gridLayout_22">
|
||||||
@ -2982,7 +2982,7 @@
|
|||||||
<number>1</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<number>16</number>
|
<number>32</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="pageStep">
|
<property name="pageStep">
|
||||||
<number>1</number>
|
<number>1</number>
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define VER_LAMEXP_MINOR_HI 1
|
#define VER_LAMEXP_MINOR_HI 1
|
||||||
#define VER_LAMEXP_MINOR_LO 1
|
#define VER_LAMEXP_MINOR_LO 1
|
||||||
#define VER_LAMEXP_TYPE Beta
|
#define VER_LAMEXP_TYPE Beta
|
||||||
#define VER_LAMEXP_PATCH 3
|
#define VER_LAMEXP_PATCH 4
|
||||||
#define VER_LAMEXP_BUILD 1608
|
#define VER_LAMEXP_BUILD 1608
|
||||||
#define VER_LAMEXP_CONFG 1558
|
#define VER_LAMEXP_CONFG 1558
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
//Maximum number of parallel instances
|
//Maximum number of parallel instances
|
||||||
#define MAX_INSTANCES 16U
|
#define MAX_INSTANCES 32U
|
||||||
|
|
||||||
//Function to calculate the number of instances
|
//Function to calculate the number of instances
|
||||||
static int cores2instances(int cores);
|
static int cores2instances(int cores);
|
||||||
@ -578,7 +578,7 @@ void ProcessingDialog::initNextJob(void)
|
|||||||
startNextJob();
|
startNextJob();
|
||||||
if(--m_initThreads > 0)
|
if(--m_initThreads > 0)
|
||||||
{
|
{
|
||||||
QTimer::singleShot(100, this, SLOT(initNextJob()));
|
QTimer::singleShot(32, this, SLOT(initNextJob()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -332,7 +332,7 @@ void ProcessThread::processFile()
|
|||||||
bSuccess = fileInfo.exists() && fileInfo.isFile() && (fileInfo.size() > 0);
|
bSuccess = fileInfo.exists() && fileInfo.isFile() && (fileInfo.size() > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
MUtils::OS::sleep_ms(125);
|
MUtils::OS::sleep_ms(25);
|
||||||
|
|
||||||
//Report result
|
//Report result
|
||||||
emit processStateChanged(m_jobId, (m_aborted ? tr("Aborted!") : (bSuccess ? tr("Done.") : tr("Failed!"))), ((bSuccess && !m_aborted) ? ProgressModel::JobComplete : ProgressModel::JobFailed));
|
emit processStateChanged(m_jobId, (m_aborted ? tr("Aborted!") : (bSuccess ? tr("Done.") : tr("Failed!"))), ((bSuccess && !m_aborted) ? ProgressModel::JobComplete : ProgressModel::JobFailed));
|
||||||
@ -462,7 +462,7 @@ int ProcessThread::generateOutFileName(QString &outFileName)
|
|||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
MUtils::OS::sleep_ms(125);
|
MUtils::OS::sleep_ms(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(QFileInfo(outFileName).exists())
|
if(QFileInfo(outFileName).exists())
|
||||||
|
Loading…
Reference in New Issue
Block a user