Lines Matching refs:stream
120 * If stream is NULL, _profile_print_stats will use stdout.
171 * Use _profile_printf to write diagnostics; add diag_stream to hold stream to write to.
676 pv->stream) != 1) {
728 pv->stream) != 1) {
759 pv->stream) != 1) {
923 void _profile_print_stats(FILE *stream,
942 if (!stream) {
943 stream = stdout;
947 fprintf(stream, "%12s profiling version number\n", buf);
948 fprintf(stream, "%12lu size of profile_vars\n", (long unsigned)sizeof(struct profile_vars));
949 fprintf(stream, "%12lu size of profile_stats\n", (long unsigned)sizeof(struct profile_stats));
950 fprintf(stream, "%12lu size of profile_md\n", (long unsigned)sizeof(struct profile_md));
951 fprintf(stream, "%12s calls to _{,g}prof_mcount\n", PROF_CNT_TO_DECIMAL((char *)0, stats->cnt));
952 fprintf(stream, "%12s calls to old mcount\n", PROF_CNT_TO_DECIMAL((char *)0, stats->old_mcount));
953 fprintf(stream, "%12s calls to _dummy_mcount\n", PROF_CNT_TO_DECIMAL((char *)0, stats->dummy));
954 fprintf(stream, "%12lu functions profiled\n", (long unsigned)stats->prof_records);
955 fprintf(stream, "%12lu gprof arcs\n", (long unsigned)stats->gprof_records);
958 fprintf(stream, "%12lu profil buckets\n", (long unsigned)stats->profil_buckets);
959 fprintf(stream, "%12lu profil lowpc [0x%lx]\n",
963 fprintf(stream, "%12lu profil highpc [0x%lx]\n",
967 fprintf(stream, "%12lu profil highpc-lowpc\n", (long unsigned)(pinfo->highpc - pinfo->lowpc));
968 fprintf(stream, "%12lu profil buffer length\n", (long unsigned)pinfo->profil_len);
969 fprintf(stream, "%12lu profil sizeof counters\n", (long unsigned)pinfo->counter_size);
970 fprintf(stream, "%12lu profil scale (%g)\n",
977 fprintf(stream, "%12lu profil unused[%2d] {0x%.8lx}\n",
986 fprintf(stream, "%12lu current cpu/thread\n", (long unsigned)stats->my_cpu);
987 fprintf(stream, "%12lu max cpu/thread+1\n", (long unsigned)stats->max_cpu);
991 fprintf(stream,
997 fprintf(stream,
1003 fprintf(stream,
1009 fprintf(stream,
1026 fprintf(stream,
1030 fprintf(stream,
1035 fprintf(stream,
1040 fprintf(stream,
1047 fprintf(stream, "%12s times a HISTCOUNTER counter would have overflowed\n",
1058 fprintf(stream, "%12lu max bucket(s) on hash chain.\n", (long unsigned)stats->hash_buckets);
1061 fprintf(stream, "%12lu bucket(s) had %d entries (%5.2Lf%%)\n",
1068 fprintf(stream, "%12lu bucket(s) had more than %d entries (%5.2Lf%%)\n",
1083 fprintf(stream,
1090 fprintf(stream,
1100 fprintf(stream, "%12s times hash table searched\n", PROF_CNT_TO_DECIMAL((char *)0, stats->hash_num));
1101 fprintf(stream, "%12s hash buckets searched\n", PROF_CNT_TO_DECIMAL((char *)0, stats->hash_search));
1102 fprintf(stream, "%12.4Lf average buckets searched\n",
1109 fprintf(stream, "%12s unused[%2d] {0x%.8lx 0x%.8lx}\n",
1152 fprintf (stream,