Raised limit for maximum number of parallel instances to 32.

This commit is contained in:
LoRd_MuldeR 2014-11-30 22:11:47 +01:00
parent dc98131fd1
commit 6eb4de942c
5 changed files with 9 additions and 9 deletions

View File

@ -154,7 +154,6 @@ copy /Y "$(SolutionDir)\..\Prerequisites\VisualLeakDetector\bin\Win32\*.manifest
<ShowProgress>LinkVerboseLib</ShowProgress>
<Version>
</Version>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AssemblyDebug>
</AssemblyDebug>
<GenerateMapFile>false</GenerateMapFile>
@ -172,6 +171,7 @@ copy /Y "$(SolutionDir)\..\Prerequisites\VisualLeakDetector\bin\Win32\*.manifest
</CreateHotPatchableImage>
<AdditionalLibraryDirectories>$(QTDIR)\lib;$(QTDIR)\plugins\imageformats;$(SolutionDir)\..\Prerequisites\VisualLeakDetector\lib\Win32;$(SolutionDir)\etc\Prerequisites\keccak\lib\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Message>

View File

@ -1509,8 +1509,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>602</width>
<height>1750</height>
<width>613</width>
<height>1759</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_22">
@ -2982,7 +2982,7 @@
<number>1</number>
</property>
<property name="maximum">
<number>16</number>
<number>32</number>
</property>
<property name="pageStep">
<number>1</number>

View File

@ -34,7 +34,7 @@
#define VER_LAMEXP_MINOR_HI 1
#define VER_LAMEXP_MINOR_LO 1
#define VER_LAMEXP_TYPE Beta
#define VER_LAMEXP_PATCH 3
#define VER_LAMEXP_PATCH 4
#define VER_LAMEXP_BUILD 1608
#define VER_LAMEXP_CONFG 1558

View File

@ -76,7 +76,7 @@
////////////////////////////////////////////////////////////
//Maximum number of parallel instances
#define MAX_INSTANCES 16U
#define MAX_INSTANCES 32U
//Function to calculate the number of instances
static int cores2instances(int cores);
@ -578,7 +578,7 @@ void ProcessingDialog::initNextJob(void)
startNextJob();
if(--m_initThreads > 0)
{
QTimer::singleShot(100, this, SLOT(initNextJob()));
QTimer::singleShot(32, this, SLOT(initNextJob()));
}
}
}

View File

@ -332,7 +332,7 @@ void ProcessThread::processFile()
bSuccess = fileInfo.exists() && fileInfo.isFile() && (fileInfo.size() > 0);
}
MUtils::OS::sleep_ms(125);
MUtils::OS::sleep_ms(25);
//Report result
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;
}
MUtils::OS::sleep_ms(125);
MUtils::OS::sleep_ms(1);
}
}
if(QFileInfo(outFileName).exists())