15 #include <sys/times.h>
19 int main(
int argc,
char *argv[]) {
22 printf(
"Missing arguments\n Usage %s <output database name> <input database name> <input database name2> [[input3]...]\n", argv[0]);
29 const char *input_DB_name = argv[2];
32 printf(
"Opening 1st input-probe-set-database '%s'..\n", input_DB_name);
33 PS_Database *db =
new PS_Database(input_DB_name, PS_Database::READONLY);
40 for (
int i = 3; i < argc; ++i) {
41 input_DB_name = argv[i];
42 printf(
"Appending input-probe-set-database '%s'..\n", input_DB_name);
44 db->merge(input_DB_name);
47 printf(
"Merged databases (enter to continue)\n");
52 const char *output_DB_name = argv[1];
54 printf(
"Writing output-probe-set-database '%s'..\n", output_DB_name);
55 db->saveTo(output_DB_name);
58 printf(
"cleaning up...\n");
int main(int argc, char *argv[])