svghmi/svghmi.py
branchsvghmi
changeset 3167 001f63ff3aaa
parent 3165 2db69e2c5673
child 3170 aaa203270ab0
equal deleted inserted replaced
3165:2db69e2c5673 3167:001f63ff3aaa
   572         # self.GetCTRoot().logger.write("  Start %s: %.3f\n"%(m, t - self.transform_begin))
   572         # self.GetCTRoot().logger.write("  Start %s: %.3f\n"%(m, t - self.transform_begin))
   573         self.GetCTRoot().logger.write("    Start %s\n"%m)
   573         self.GetCTRoot().logger.write("    Start %s\n"%m)
   574 
   574 
   575     def ProgressEnd(self, _context, *args):
   575     def ProgressEnd(self, _context, *args):
   576         k,m,t = _ProgressArgs(args)
   576         k,m,t = _ProgressArgs(args)
       
   577         self.GetCTRoot().logger.write("    Finished %s in %.3f\n"%(m, t - self.times[k]))
   577         self.times[k] = t
   578         self.times[k] = t
   578         self.GetCTRoot().logger.write("    Finished %s in %.3f\n"%(m, t - self.times[k]))
       
   579 
   579 
   580     def CTNGenerate_C(self, buildpath, locations):
   580     def CTNGenerate_C(self, buildpath, locations):
   581 
   581 
   582         location_str = "_".join(map(str, self.GetCurrentLocation()))
   582         location_str = "_".join(map(str, self.GetCurrentLocation()))
   583         view_name = self.BaseParams.getName()
   583         view_name = self.BaseParams.getName()