Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org>
[deliverable/binutils-gdb.git] / gprof / symtab.h
index 9b1a531c2a52b495ba71caea85e1849157cfd602..f3b49a933c63d37166625906e2d334ffd1378adc 100644 (file)
@@ -16,6 +16,8 @@
 
 #include "source.h"
 
+#define NBBS 10
+
 /*
  * Symbol-entry.  For each external in the specified file we gather
  * its address, the number of calls and compute its share of cpu time.
@@ -42,6 +44,8 @@ typedef struct sym
     int ncalls;                        /* how many times executed */
     int nuses;                 /* how many times this symbol appears in
                                   a particular context */
+    bfd_vma bb_addr[NBBS];     /* address of basic-block start */
+    int bb_calls[NBBS];                /* how many times basic-block was called */
     struct sym *next;          /* for building chains of syms */
     struct sym *prev;          /* for building chains of syms */
 
This page took 0.022929 seconds and 4 git commands to generate.