#endif /* not lint */
#include "gprof.h"
-#include "pathnames.h"
printprof()
{
{
if ( bflag ) {
- printblurb( _PATH_FLAT_BLURB );
+ flat_blurb(stdout);
}
printf( "\ngranularity: each sample hit covers %d byte(s)" ,
(long) scale * sizeof(UNIT) );
} else {
printf( " no time accumulated\n\n" );
/*
- * this doesn't hurt sinc eall the numerators will be zero.
+ * this doesn't hurt since all the numerators will be zero.
*/
totime = 1.0;
}
{
if ( bflag ) {
- printblurb( _PATH_CALLG_BLURB );
+ callg_blurb(stdout);
}
printf( "\ngranularity: each sample hit covers %d byte(s)" ,
(long) scale * sizeof(UNIT) );
}
}
-printblurb( blurbname )
- char *blurbname;
-{
- FILE *blurbfile;
- int input;
-
- blurbfile = fopen( blurbname , "r" );
- if ( blurbfile == NULL ) {
- perror( blurbname );
- return;
- }
- while ( ( input = getc( blurbfile ) ) != EOF ) {
- putchar( input );
- }
- fclose( blurbfile );
-}
-
int
namecmp( npp1 , npp2 )
nltype **npp1, **npp2;