Introduction
The python orccanalyse example is extracted from the most popular open source projects, you can refer to the following example for usage.
Programming language: Python
Namespace/package name: orccAnalyse
Example#1File:
profilingAnalyse.pyProject:
Binchens/PCA-algorithm
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
Example#2File:
hlsanalyse.pyProject:
ClementGGuy/orcc
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
Example#3File:
benchAutoMapping.pyProject:
Binchens/PCA-algorithm
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()