[BACK]Return to hist.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / external / gpl3 / binutils.old / dist / gprof

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/external/gpl3/binutils.old/dist/gprof/hist.c between version 1.4 and 1.5

version 1.4, 2016/12/14 21:48:35 version 1.5, 2018/04/14 15:49:42
Line 1 
Line 1 
 /* 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;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CVSweb <webmaster@jp.NetBSD.org>