quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_mmedia.a #include <Splitter.h> static boolean diagnose(Integral::DEBUG debug_level); SPLIT_MODE getSplitMode(); boolean setSplitMode(SPLIT_MODE arg); Filename& getParamFile(); boolean setParamFile(Filename& arg); Filename& getIdentifierList(); boolean setIdentifierList(Filename& arg); Filename& getMachineList(); boolean setMachineList(Filename& arg); Filename& getAccumulatorList(); boolean setAccumulatorList(Filename& arg); MachineDatabase& getMachineDatabase(); boolean getMachineDatabase(MachineDatabase& arg); boolean createUtterLists(Filename& identifier_list, Filename& machine_list, Filename& accumulator_list, Vector<Filename>& identifiers_lookup, Vector<Machine>& machine_lookup, Vector<Filename>& accumulator_lookup, Vector<SingleLinkedList<Filename> >& items); boolean divideAndConquer(Filename& identifier_list, Filename& machine_list, Vector<SingleLinkedList<Filename> >& items);
description:Splitter splt_00; splt_00.setSplitMode(Splitter::SPEED); splt_00.run();
static const String CLASS_NAME = L"Splitter";
enum SPLIT_MODE { NONE = 0, SPEED, MEMORY, DEF_SPLIT_MODE = NONE };
static const NameMap SPLIT_MAP;
static const String DEF_PARAM;
static const String PARAM_SPLIT_MODE;
static const String PARAM_PARAMETER_FILE;
static const String PARAM_MACHINE_LIST;
static const String PARAM_IDENTIFIER_LIST;
static const String PARAM_ACCUMULATOR_LIST;
static const String PARAM_MACHINE_DATABASE;
static const String DEF_RECOGNIZER;
static const String DEF_RSH_PROTOCOL;
static const String DEF_SSH_PROTOCOL;
static const String OPTION_PARAM_FLAG;
static const String OPTION_LIST_FLAG;
static const String OPTION_ACCUM_FLAG;
SPLIT_MODE split_mode_d;
Filename param_file_d;
Filename ident_list_d;
Filename machine_list_d;
Filename accum_list_d;
MachineDatabase mdb_d;
static Integral::DEBUG debug_level_d;
static MemoryManager mgr_d;
static const String& name();
boolean debug(const unichar* msg) const;
static boolean setDebug(Integral::DEBUG arg);
static boolean diagnose(Integral::DEBUG debug_level);
~Splitter();
Splitter();
Splitter(const Splitter& arg);
boolean assign(const Splitter& arg);
not present.
long sofSize() const;
boolean read(Sof& sof, long tag);
boolean read(Sof& sof, long tag, const String& name);
boolean write(Sof& sof, long tag) const;
boolean write(Sof& sof, long tag, const String& name) const;
boolean readData(Sof& sof, const String& pname = DEF_PARAM, long size = SofParser::FULL_OBJECT, boolean param = true, boolean nested = false);
boolean writeData(Sof& sof, const String& pname = DEF_PARAM) const;
boolean eq(const Splitter& arg) const;
static void* operator new(size_t arg);
static void* operator new[](size_t arg);
static void operator delete(void* arg);
static void operator delete[](void* arg);
static boolean setGrowSize(long arg);
boolean clear(Integral::CMODE cmode = Integral::DEF_CMODE);
SPLIT_MODE getSplitMode();
boolean setSplitMode(SPLIT_MODE arg);
Filename& getParamFile();
boolean setParamFile(Filename& arg);
Filename& getIdentifierList();
boolean setIdentifierList(Filename& arg);
Filename& getMachineList();
boolean setMachineList(Filename& arg);
Filename& getAccumulatorList();
boolean setAccumulatorList(Filename& arg);
MachineDatabase& getMachineDatabase();
boolean getMachineDatabase(MachineDatabase& arg);
boolean createUtterLists(Filename& identifier_list, Filename& machine_list, Filename& accumulator_list, Vector<Filename>& identifiers_lookup, Vector<Machine>& machine_lookup, Vector<Filename>& accumulator_lookup, Vector<SingleLinkedList<Filename> >& items);
boolean divideAndConquer(Filename& identifier_list, Filename& machine_list, Vector<SingleLinkedList<Filename> >& items);
boolean splitJobList(Filename& input_file, Filename& cpus, String& command_to_execute, String& walltime, String& batch_command, Sdb& sdb_list, String& cluster_name);
boolean pollLogFile(Vector& log_files);
boolean waitAndAccumulate(Vector& log_files, String& proc_id_str);
boolean sendEmail(Long& start_time, Long& finish_time, String& begin_time, String& end_time, String& proc_id_str);
String getDiffTime(Long& start_time, Long& finish_time);