Commit in projects/lcdd/trunk/include/lcdd/util on MAIN
TimeUtil.hh+23113 -> 3114


projects/lcdd/trunk/include/lcdd/util
TimeUtil.hh 3113 -> 3114
--- projects/lcdd/trunk/include/lcdd/util/TimeUtil.hh	2014-05-08 21:42:53 UTC (rev 3113)
+++ projects/lcdd/trunk/include/lcdd/util/TimeUtil.hh	2014-05-08 22:45:35 UTC (rev 3114)
@@ -33,6 +33,8 @@
     }
 
     static void addTime(const std::string& name, long nanos) {
+        if (!haveTimer(name))
+            createTimer(name);
         _timerMap[name] += nanos;
     }
 
SVNspam 0.1


Use REPLY-ALL to reply to list

To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1