From 2ad181164266000e04fa109b656ca1922b5ac3a4 Mon Sep 17 00:00:00 2001 From: James Richings Date: Tue, 9 Nov 2021 12:33:25 +0000 Subject: [PATCH] Added timing to deflation code. --- Grid/algorithms/iterative/Deflation.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Grid/algorithms/iterative/Deflation.h b/Grid/algorithms/iterative/Deflation.h index 814a0432..83ec1ab0 100644 --- a/Grid/algorithms/iterative/Deflation.h +++ b/Grid/algorithms/iterative/Deflation.h @@ -75,24 +75,19 @@ public: virtual void operator()(const Field &src,Field &guess) { GridStopWatch w1; - GridStopWatch w2; - w1.Start(); guess = Zero(); - w1.Stop(); - LOG(Message) << "Zeroing the 'out' vector took: " << w1.Elapsed() << std::endl; - - w2.Start(); + w1.Start(); for (int i=0;i