예제 #1
0
 def session_initialization(self):
     self.session_start_time = time()
     self.log_file_path = get_log_file_path(OUTPUT_FOLDER)
     writeFile(self.log_file_path, '\n%s, ***** Session starts\n'%get_time_stamp())
     self.result_file_path = self.log_file_path.replace(".log", ".csv")
     writeFile(self.result_file_path, self.result_header + "\n-----------------------------------------\n")
     self.flag_first_feeding = True
예제 #2
0
 def __init__(self):
     global LOG_FILE_PATH
     multiprocessing.Process.__init__(self)
     LOG_FILE_PATH = get_log_file_path(OUTPUT_FOLDER)