def _get_data_list(input_path): """Get the list of all the operating units (or groups of operating units) stored in GlobalData objects :param input_path: input data file path :return: the list of all the operating units (or groups of operating units) stored in GlobalData objects """ data_list = [] # First get the data for all mini runners for filename in glob.glob(os.path.join(input_path, '*.csv')): data_list += grouped_op_unit_data.get_grouped_op_unit_data(filename) logging.info("Loaded file: {}".format(filename)) return data_list
def _get_data_list(input_path, warmup_period, tpcc_hack, ee_sample_interval, txn_sample_interval): """Get the list of all the operating units (or groups of operating units) stored in GlobalData objects :param input_path: input data file path :param warmup_period: warmup period for pipeline data :return: the list of all the operating units (or groups of operating units) stored in GlobalData objects """ data_list = [] # First get the data for all mini runners for filename in glob.glob(os.path.join(input_path, '*.csv')): data_list += grouped_op_unit_data.get_grouped_op_unit_data(filename, warmup_period, tpcc_hack, ee_sample_interval, txn_sample_interval) logging.info("Loaded file: {}".format(filename)) return data_list