sbsv2/raptor/bin/recipestats.py
changeset 28 b8fa7dfeeaa1
parent 18 de5b887c98f7
equal deleted inserted replaced
27:3a31ca4b29c4 28:b8fa7dfeeaa1
    29 		self.count=count
    29 		self.count=count
    30 		self.time=time
    30 		self.time=time
    31 
    31 
    32 	def add(self, duration):
    32 	def add(self, duration):
    33 		self.time += duration
    33 		self.time += duration
       
    34 		self.count += 1
    34 
    35 
    35 class BuildStats(object):
    36 class BuildStats(object):
    36 	STAT_OK = 0
    37 	STAT_OK = 0
    37 
    38 
    38 
    39