Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
566 B

  1. // Copyright (c) 1993-1999 Microsoft Corporation
  2. #include "y4.h"
  3. /*
  4. * Write summary.
  5. */
  6. void
  7. osummary( void )
  8. {
  9. SSIZE_T i, *p;
  10. if(foutput == NULL) return;
  11. i=0;
  12. for(p=maxa; p>=a; --p)
  13. {
  14. if(*p == 0) ++i;
  15. }
  16. fprintf(foutput,"Optimizer space used: input %d/%d, output %d/%d\n",
  17. pmem-mem0+1, MEMSIZE, maxa-a+1, ACTSIZE);
  18. fprintf(foutput, "%d table entries, %d zero\n", (maxa-a)+1, i);
  19. fprintf(foutput, "maximum spread: %d, maximum offset: %d\n",maxspr, maxoff);
  20. fclose(foutput);
  21. }