From 09146cfc4318978f0285095c1a788013c9778bbc Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 15 Jun 2023 06:54:10 -0400 Subject: [PATCH] Profiling temporary code until optimised --- Grid/qcd/smearing/GaugeConfigurationMasked.h | 39 ++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/Grid/qcd/smearing/GaugeConfigurationMasked.h b/Grid/qcd/smearing/GaugeConfigurationMasked.h index 4cefe1af..4309c470 100644 --- a/Grid/qcd/smearing/GaugeConfigurationMasked.h +++ b/Grid/qcd/smearing/GaugeConfigurationMasked.h @@ -131,6 +131,7 @@ public: AdjMatrixField X(grid); Complex ci(0,1); + RealD t0 = usecond(); Ident = ComplexD(1.0); for(int d=0;dStoutSmearing->BaseSmear(C, U); Cmu = peekLorentz(C, mu); @@ -169,7 +172,10 @@ public: ////////////////////////////////////////////////////////////////// // Ta so Z lives in Lie algabra Zx = Ta(Cmu * adj(Umu[mu])); + time+=usecond(); + std::cout << GridLogMessage << "Z took "< dJdX; dJdX.resize(8,grid); AdjMatrixField tbXn(grid); AdjMatrixField sumXtbX(grid); @@ -220,12 +232,17 @@ public: } dJdX[b] = -dt2; } + time+=usecond(); + std::cout << GridLogMessage << "dJx took "<