profiling woes, prof has changed???

Dan Severance dan at omega.chem.yale.edu
Sun May 26 08:02:50 AEST 1991


   Hi,
     I've been using pixie to profile my files for a long time now.
I recently tried it, and when time came to use prof -pixie file,
I get:  (twnew is the mainline, wpot is the only subroutine)
   prof -pixie bestc 

wpot_ is an alternate entry within twnew_ (bestc.f) 

----------------------------------------------------------------------------
*  -p[rocedures] using basic-block counts;                                 *
*  sorted in descending order by the number of cycles executed in each     *
*  procedure; unexecuted procedures are excluded                           *
----------------------------------------------------------------------------

255733799 cycles

    cycles %cycles  cum %     cycles  bytes procedure (file)
                               /call  /line

 156061559   61.03  61.03  156061559     34 twnew_ (bestc.f)
  91665000   35.84  96.87         35      5 sqrt (sqrt.s)
   7994250    3.13  99.99         19     12 d_sign (d_sign.c)
etc...

      wpot is responsible for ~60% of the CPU time, but everything
is now glommed into the mainline.  Programs with more subroutines
do the same thing, the mainline is assigned the sum of all of the
individual routine times.  I used to get a nice breakdown of
individual routine percentages.
      I can get the procedure numbers from pixstats, but what I
really want is the h[eavy profile, which pixstats wont give.
What has changed?  Is this a bug or a feature? 
    Thanks In Advance
       Dan Severance

   The machine is a 4D-25G , hinv gives:

1 20 MHZ IP6 Processor
FPU: MIPS R2010A/R3010 VLSI Floating Point Chip Revision: 2.0
CPU: MIPS R2000A/R3000 Processor Chip Revision: 2.0
Data cache size: 32 Kbytes
Instruction cache size: 64 Kbytes
Main memory size: 16 Mbytes
Integral Ethernet controller: Version 0
Graphics board: GR1.2 Bit-plane, Z-buffer options installed
Integral SCSI controller 0: Version WD33C93A
Tape drive: unit 2 on SCSI controller 0: QIC 150
Disk drive: unit 1 on SCSI controller 0

-------------------------------------------------------------------
Dan Severance                         dan at omega.chem.yale.edu
Laboratory of Computational Chemistry
Yale university                       (203)432-6288
New Haven, CT 06511
-------------------------------------------------------------------



More information about the Comp.sys.sgi mailing list