Пример #1
0
 def __init__(self, input_file):
     OrccAnalyse.__init__(self, os.path.splitext(os.path.basename(input_file))[0])
     self.logCSV = True
     self.logTXT = False
     self.logXML = False
     self.logHTML = True
     self.logPDF = False
     self.ARCHIVE = False
     self.input_file = input_file
     self.PIE_DATA = list()
     self.MIN_WL_FOR_PIE = 5
     self.extractedData = list()
     self.TOTAL_WL = 0.0
Пример #2
0
 def __init__(self, input_file):
     OrccAnalyse.__init__(self, os.path.splitext(os.path.basename(input_file))[0])
     self.logCSV = False
     self.logTXT = False
     self.logXML = False
     self.logHTML = True
     self.logPDF = False
     self.ARCHIVE = False
     self.input_file = input_file
     self.PIE_DATA = list()
     self.MIN_WL_FOR_PIE = 5
     self.extractedData = list()
     self.TOTAL_WL = 0.0
Пример #3
0
 def __init__(self, tag, frequency, input_file, height, width, port_nb):
     OrccAnalyse.__init__(self, tag)
     self.DEFAULT_LOG_EXT = ".log"
     self.FREQUENCY = frequency
     self.INPUT_FILE = input_file
     self.TOKEN_CYCLE = "Note: Number of output"
     self.TOKEN_ERROR = "Error: on port"
     self.TOKEN_PORTNB = "_" + str(port_nb) + "_"
     self.height = height
     self.width = width
     self.TOTAL_time = 0
     self.extractedData = list()
     self.ARCHIVE = False
     self.logCSV = False
     self.logTXT = False
     self.logXML = False
     self.logHTML = False
     self.logPDF = False
Пример #4
0
	def __init__(self, tag, frequency, input_file, height, width, port_nb):
		OrccAnalyse.__init__(self, tag)
		self.DEFAULT_LOG_EXT = ".log"
		self.FREQUENCY = frequency
		self.INPUT_FILE = input_file
		self.TOKEN_CYCLE = "Note: Number of output"
		self.TOKEN_ERROR = "Error: on port"
		self.TOKEN_PORTNB = "_"+str(port_nb)+"_"
		self.height = height
		self.width = width
		self.TOTAL_time = 0
		self.extractedData = list()
		self.ARCHIVE = False
		self.logCSV = False
		self.logTXT = False
		self.logXML = False
		self.logHTML = False
		self.logPDF = False
Пример #5
0
 def __init__(self, tag, nb_frames, decoder_path, sequences_path):
     OrccAnalyse.__init__(self, tag)
     self.NBFRAME = nb_frames
     self.DEFAULT_EXE = decoder_path
     self.SEQ_PATH = sequences_path
     if self.SEQ_PATH.endswith("/"):
         self.SEQ_PATH = self.SEQ_PATH[0:len(self.SEQ_PATH) - 1]
     self.FILE_HEAD = "bench_"
     self.DEFAULT_LOG_EXT = ".log"
     self.TOKEN_NEW_PROCESSING = "Processing on sequence "
     self.TOKEN_FPS = "FPS"
     self.TOKEN_FPS_POST_MAPPING = "PostMapping :"
     self.TOKEN_LB = "Load balancing"
     self.TOKEN_EC = "Edgecut :"
     self.TOKEN_CV = "Communication volume :"
     self.TOKEN_MT = "Mapping time :"
     self.TOKEN_PART = "partitions"
     self.logTXT = False
     self.logXML = False
     self.logHTML = False
     self.logCSV = True
     self.logPDF = False
     self.data = OrccBenchMappingData()
Пример #6
0
 def __init__(self, tag, nb_frames, decoder_path, sequences_path):
     OrccAnalyse.__init__(self, tag)
     self.NBFRAME = nb_frames
     self.DEFAULT_EXE = decoder_path
     self.SEQ_PATH =  sequences_path
     if self.SEQ_PATH.endswith("/"):
         self.SEQ_PATH = self.SEQ_PATH[0:len(self.SEQ_PATH)-1]
     self.FILE_HEAD = "bench_"
     self.DEFAULT_LOG_EXT = ".log"
     self.TOKEN_NEW_PROCESSING = "Processing on sequence "
     self.TOKEN_FPS = "FPS"
     self.TOKEN_FPS_POST_MAPPING = "PostMapping :"
     self.TOKEN_LB = "Load balancing"
     self.TOKEN_EC = "Edgecut :"
     self.TOKEN_CV = "Communication volume :"
     self.TOKEN_MT = "Mapping time :"
     self.TOKEN_PART = "partitions"
     self.logTXT = False
     self.logXML = False
     self.logHTML = False
     self.logCSV = True
     self.logPDF = False
     self.data = OrccBenchMappingData()