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

// Copyright (c) 1993-1999 Microsoft Corporation
#include "y4.h"
/*
* Write summary.
*/
void
osummary( void )
{
SSIZE_T i, *p;
if(foutput == NULL) return;
i=0;
for(p=maxa; p>=a; --p)
{
if(*p == 0) ++i;
}
fprintf(foutput,"Optimizer space used: input %d/%d, output %d/%d\n",
pmem-mem0+1, MEMSIZE, maxa-a+1, ACTSIZE);
fprintf(foutput, "%d table entries, %d zero\n", (maxa-a)+1, i);
fprintf(foutput, "maximum spread: %d, maximum offset: %d\n",maxspr, maxoff);
fclose(foutput);
}