Skip to content
Snippets Groups Projects
Commit b709d8fb authored by jisler's avatar jisler
Browse files

new Timers 2

parent eb0b020e
No related branches found
No related tags found
No related merge requests found
......@@ -489,10 +489,7 @@ void NekLinSysIterGMRES::DoArnoldi(const int starttem, const int endtem,
tmp2 = w + nDir;
if (m_NekLinSysLeftPrecon)
{
timer.Start();
m_operator.DoNekSysPrecon(tmp1, tmp2);
timer.Stop();
timer.AccumulateRegion("NekLinSysIterGMRES::DoArnoldi - DoNekSysPrecon");
}
Vmath::Smul(nNonDir, sqrt(m_prec_factor), tmp2, 1, tmp2, 1);
......
......@@ -159,6 +159,7 @@ namespace Nektar
const bool &flag,
const Array<OneD, const NekDouble> &source)
{
LibUtilities::Timer timer;
boost::ignore_unused(flag);
unsigned int nvariables = m_fields.size();
unsigned int npoints = m_fields[0]->GetNcoeffs();
......@@ -172,7 +173,11 @@ namespace Nektar
out2D[i] = out + offset;
source2D[i] = source + offset;
}
timer.Start();
NonlinSysEvaluatorCoeff(in2D, out2D, source2D);
timer.Stop();
timer.AccumulateRegion("CFSImplicit::NonlinSysEvaluatorCoeff", 0);
}
void CFSImplicit::NonlinSysEvaluatorCoeff(
......@@ -438,8 +443,9 @@ namespace Nektar
Array<OneD, NekDouble> &outarray,
const bool &flag)
{
LibUtilities::Timer timer;
LibUtilities::Timer timer, GTimer;
Gtimer.Start();
if (m_preconCfs->UpdatePreconMatCheck(NullNekDouble1DArray,
m_TimeIntegLambda) && m_flagUpdatePreconMat)
{
......@@ -470,6 +476,9 @@ namespace Nektar
m_preconCfs->DoPreconCfs(m_fields, inarray, outarray, flag);
timer.Stop();
timer.AccumulateRegion("PreconCfsOp::DoPreconCfs", 1);
Gtimer.Stop();
Gtimer.AccumulateRegion("CFSImplicit::PreconCoeff", 1);
}
template<typename DataType, typename TypeNekBlkMatSharedPtr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment