int mpsePrintSummary(int method) { switch (method) { case MPSE_AC_BNFA: case MPSE_AC_BNFA_Q: bnfaPrintSummary(); break; case MPSE_AC: acsmPrintSummaryInfo(); break; case MPSE_ACF: case MPSE_ACF_Q: case MPSE_ACS: case MPSE_ACB: case MPSE_ACSB: acsmPrintSummaryInfo2(); break; case MPSE_LOWMEM: case MPSE_LOWMEM_Q: if( KTrieMemUsed() ) { double x; x = (double) KTrieMemUsed(); LogMessage("[ LowMem Search-Method Memory Used : %g %s ]\n", (x > 1.e+6) ? x/1.e+6 : x/1.e+3, (x > 1.e+6) ? "MBytes" : "KBytes" ); } break; default: break; } #ifdef INTEL_SOFT_CPM IntelPmPrintSummary(); #endif return 0; }
int mpsePrintSummary(void ) { fflush(stderr); fflush(stdout); acsmPrintSummaryInfo(); acsmPrintSummaryInfo2(); bnfaPrintSummary(); if( KTrieMemUsed() ) { double x; x = (double) KTrieMemUsed(); LogMessage("[ LowMem Search-Method Memory Used : %g %s ]\n", (x > 1.e+6) ? x/1.e+6 : x/1.e+3, (x > 1.e+6) ? "MBytes" : "KBytes" ); } fflush(stderr); fflush(stdout); return 0; }