svghmi/svghmi.py
branchsvghmi
changeset 3168 6950ac7aa966
parent 3167 001f63ff3aaa
child 3170 aaa203270ab0
equal deleted inserted replaced
3166:275eadf598e8 3168:6950ac7aa966
   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()