version 1.4, 2016/12/14 21:48:35 |
version 1.5, 2018/04/14 15:49:42 |
|
|
/* hist.c - Histogram related operations. |
/* hist.c - Histogram related operations. |
|
|
Copyright (C) 1999-2015 Free Software Foundation, Inc. |
Copyright (C) 1999-2016 Free Software Foundation, Inc. |
|
|
This file is part of GNU Binutils. |
This file is part of GNU Binutils. |
|
|
Line 289 hist_write_hist (FILE * ofp, const char |
|
Line 289 hist_write_hist (FILE * ofp, const char |
|
next bin. */ |
next bin. */ |
|
|
static void |
static void |
scale_and_align_entries () |
scale_and_align_entries (void) |
{ |
{ |
Sym *sym; |
Sym *sym; |
bfd_vma bin_of_entry; |
bfd_vma bin_of_entry; |
Line 445 hist_assign_samples_1 (histogram *r) |
|
Line 445 hist_assign_samples_1 (histogram *r) |
|
|
|
/* Calls 'hist_assign_sampes_1' for all histogram records read so far. */ |
/* Calls 'hist_assign_sampes_1' for all histogram records read so far. */ |
void |
void |
hist_assign_samples () |
hist_assign_samples (void) |
{ |
{ |
unsigned i; |
unsigned i; |
|
|
Line 562 cmp_time (const PTR lp, const PTR rp) |
|
Line 562 cmp_time (const PTR lp, const PTR rp) |
|
/* Print the flat histogram profile. */ |
/* Print the flat histogram profile. */ |
|
|
void |
void |
hist_print () |
hist_print (void) |
{ |
{ |
Sym **time_sorted_syms, *top_dog, *sym; |
Sym **time_sorted_syms, *top_dog, *sym; |
unsigned int sym_index; |
unsigned int sym_index; |