Oz and Mozart Hackers Mailing List

Re: Profiling the emulator


From: Christian Schulte (schulte@imit.kth.se)
Date: Mon Jun 10 2002 - 13:21:18 CEST


Forget about that option and also be quite careful about the debug
options. I always use -pg on top of the normal C++ options (even though
the information you get with profiling is not that helpful).

Christian

"Kevin Glynn" <glynn@info.ucl.ac.be> wrote in message
news:<15619.1760.859290.902511@s-ensor.info.ucl.ac.be>...
>
>
> I'm having trouble profiling the emulator. I reconfigured with option
>
> --enable-opt=profile
>
> and rebuilt.
>
> Under linux it just loops eating CPU:
>
> gdb working/kosher/install/platform/linux-i486/emulator.exe 8903 GNU
> gdb Red Hat Linux 7.x (5.0rh-15) (MI_OUT) Copyright 2001 Free Software

> Foundation, Inc. GDB is free software, covered by the GNU General
> Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "i386-redhat-linux"...
> /info4/staff/glynn/8903: No such file or directory.
> Attaching to program:
>
/info4/staff/glynn/working/kosher/install/platform/linux-i486/emulator.e
xe,
> process 8903
> 0x400f5545 in ?? ()
> (gdb) bt
> #0 0x400f5545 in ?? ()
> #1 0x08081ad5 in unix_chDir ()
> #2 <signal handler called>
> #3 0x5bf8658d in ?? ()
> #4 0x080931f2 in GETNUMBERX ()
> #5 0x08099b6f in TAILDECONSCALLG ()
> #6 0x0809c462 in copyCode ()
> #7 0x080dc754 in unpickleTermInternal ()
> #8 0x080d5e06 in pickleCode ()
> #9 0x400e2507 in ?? ()
> (gdb)
>
>
> Under solaris it fails to build (sorry, don't have the details at the
> moment.)
>
> I haven't tried the --enable-opt=rsp option because I'm not Ralf
> .......
>
> Anyone got any advice??
>
> thanks
> k
>
>
> -
> Please send submissions to hackers@mozart-oz.org
> and administriva mail to hackers-request@mozart-oz.org.
> The Mozart Oz web site is at http://www.mozart-oz.org/.

-
Please send submissions to hackers@mozart-oz.org
and administriva mail to hackers-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.