PR_fprintf(globals.mRequest.mFD, "<td valign=top align=right>%u</td>\n", run->mStats.mCompositeCount);   PR_fprintf(globals.mRequest.mFD, "<td valign=top align=right>" ST_MICROVAL_FORMAT "</td>\n", ST_MICROVAL_PRINTABLE(run->mStats.mHeapRuntimeCost));
int displayCallsites(tmcallsite* aCallsite, int aFollow, PRUint32 aStamp, int aRealNames){    int retval = 0;    if(NULL != aCallsite && NULL != aCallsite->method)    {        int headerDisplayed = 0;        STRun* run = NULL;        /*        ** Corrent the stamp if need be.        */        if(0 == aStamp && NULL != globals.mCache.mSortedRun)        {            aStamp = globals.mCache.mSortedRun->mStats.mStamp;        }        /*        ** Loop over the callsites looking for a stamp match.        ** A stamp guarantees there is something interesting to look at too.        ** If found, output it.        */        while(NULL != aCallsite && NULL != aCallsite->method)        {            run = CALLSITE_RUN(aCallsite);            if(NULL != run)            {                if(aStamp == run->mStats.mStamp)                {                    /*                    ** We got a header?                    */                    if(0 == headerDisplayed)                    {                        headerDisplayed = __LINE__;                        PR_fprintf(globals.mRequest.mFD, "<table border=1>\n");                        PR_fprintf(globals.mRequest.mFD, "<tr>\n");                        PR_fprintf(globals.mRequest.mFD, "<td><b>Callsite</b></td>\n");                        PR_fprintf(globals.mRequest.mFD, "<td><b>Composite Byte Size</b></td>\n");                        PR_fprintf(globals.mRequest.mFD, "<td><b>Composite Seconds</b></td>\n");                        PR_fprintf(globals.mRequest.mFD, "<td><b>Composite Weight</b></td>\n");                        PR_fprintf(globals.mRequest.mFD, "</tr>\n");                    }                    /*                    ** Output the information.                    */                    PR_fprintf(globals.mRequest.mFD, "<tr>\n");                    /*                    ** Method name.                    */                    PR_fprintf(globals.mRequest.mFD, "<td>");                    htmlCallsiteAnchor(aCallsite, NULL, aRealNames);                    PR_fprintf(globals.mRequest.mFD, "</td>");                    /*                    ** Byte Size.                    */                    PR_fprintf(globals.mRequest.mFD, "<td valign=top align=right>%u</td>\n", run->mStats.mSize);                    /*                    ** Seconds.                    */                    PR_fprintf(globals.mRequest.mFD, "<td valign=top align=right>" ST_TIMEVAL_FORMAT "</td>\n", ST_TIMEVAL_PRINTABLE64(run->mStats.mTimeval64));                    /*                    ** Weight.                    */                    PR_fprintf(globals.mRequest.mFD, "<td valign=top align=right>%llu</td>\n", run->mStats.mWeight64);                                        PR_fprintf(globals.mRequest.mFD, "</tr>\n");                }            }            else            {                retval = __LINE__;                REPORT_ERROR(__LINE__, displayCallsites);                break;            }            /*            ** What do we follow?            */            switch(aFollow)            {                case ST_FOLLOW_SIBLINGS:                    aCallsite = aCallsite->siblings;                    break;                case ST_FOLLOW_PARENTS:                    aCallsite = aCallsite->parent;                    break;                default:                    aCallsite = NULL;                    retval = __LINE__;                    REPORT_ERROR(__LINE__, displayCallsites);                    break;            }        }        /*        ** Terminate the table if we should.        */        if(0 != headerDisplayed)        {            PR_fprintf(globals.mRequest.mFD, "</table>\n");        }    }    else    {        retval = __LINE__;        REPORT_ERROR(__LINE__, displayCallsites);    }    return retval;}