diff --git a/src/function/FuncSumHills.cpp b/src/function/FuncSumHills.cpp
index 21843d1813d6990499bd2f038402e8b5e2f2e870..f8724d47b58d8df0c059906ccf3211e1891a409c 100644
--- a/src/function/FuncSumHills.cpp
+++ b/src/function/FuncSumHills.cpp
@@ -26,6 +26,7 @@
 #include "tools/BiasRepresentation.h"
 #include "tools/File.h"
 #include "tools/Tools.h"
+#include "tools/Stopwatch.h"
 #include <iostream>
 
 using namespace std;
@@ -507,6 +508,10 @@ historep(NULL)
     if(integratehills)	hillsHandler=new FilesHandler(hillsFiles,parallelread,*this, log);
     if(integratehisto)	histoHandler=new FilesHandler(histoFiles,parallelread,*this, log);
 
+    Stopwatch sw;
+
+    sw.start("0 Summing hills");
+
     // read a number of hills and put in the bias representation
     int nfiles=0;
     bool ibias=integratehills; bool ihisto=integratehisto;
@@ -619,6 +624,10 @@ historep(NULL)
     if(hillsHandler) delete hillsHandler;
     if(histoHandler) delete histoHandler;
 
+    sw.stop("0 Summing hills");
+
+    log<<sw;
+
     return;
   } 
   // just an initialization but you need to do something on the fly?: need to connect with a metad run and its grid representation