[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Speed decrease between 2.0 and 2.1?
From: |
d . e . cox |
Subject: |
Re: Speed decrease between 2.0 and 2.1? |
Date: |
Mon, 22 May 2000 20:40:03 -0400 (EDT) |
On 22-May-00 Marcus G. Daniels wrote:
> Did you try:
>
> make EXTRAOBJCFLAGS=-pg EXTRALDFLAGS=-pg
>
> ? Do you quit the program gracefully (e.g. quit button or exit() in
> the model?
Eventually I was able to create a profile, but I had to edit the
master Makefile. Under Linux the file:
/usr/etc/swarm/Makefile.common
contains:
ifeq ($(USE_EXTRALDFLAGS),)
EXTRALDFLAGS =
else
EXTRALDFLAGS =
endif
which would seem to nix EXTRALDFLAGS. This is common to 2.0 and 2.1, am I
missing something here?
I've not looked much at profiles before, so I've just put the top
of either below. Both are missing the us/call data from the main
routines, how do I fix that?...
To me the strange part is the 2.1.1 profile shows a 3 second
cumulative time, but the execution took about a minute and a half, a
tcsh "time" output for the 2.1.1 run is
94.110u 0.630s 1:44.05 91.0% 0+0k 0+0io 1899pf+0w
and the 2.0 run,
13.600u 0.220s 0:21.45 64.4% 0+0k 0+0io 1753pf+0w
some of the missing time is in my editing a parameter, and clicking "start",
but not 90 seconds....
Thanks, I appreciate any help you can offer...
dave
---------profile using swarm-2.1.1---------------
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls us/call us/call name
37.91 1.16 1.16 _i_Vehicle__step
27.78 2.01 0.85 _i_Vehicle__AdjustSpeed
16.99 2.53 0.52 _i_Vehicle__ChangeLanes
8.82 2.80 0.27 1831669 0.15 0.15 _i_Vehicle__getYpos
4.58 2.94 0.14 532 263.16 263.16 _i_Vehicle__getTag
3.59 3.05 0.11 _i_Vehicle__drawSelfOn_
...
---------profile using swarm-2.0---------------
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls ps/call ps/call name
48.61 1.22 1.22 _i_Vehicle__step
29.48 1.96 0.74 _i_Vehicle__AdjustSpeed
14.34 2.32 0.36 _i_Vehicle__ChangeLanes
5.58 2.46 0.14 _i_Vehicle__getTag
1.99 2.51 0.05 1934379 25848.09 25848.09 _i_Vehicle__getCars
0.00 2.51 0.00 18744 0.00 0.00 _i_Vehicle__print
--------------------------------------------------------
David E. Cox address@hidden (757) 864-6658
--------------------------------------------------------
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
- Re: Speed decrease between 2.0 and 2.1?, d . e . cox, 2000/05/22
- Re: Speed decrease between 2.0 and 2.1?, Marcus G. Daniels, 2000/05/22
- Re: Speed decrease between 2.0 and 2.1?,
d . e . cox <=
- Re: Speed decrease between 2.0 and 2.1?, Paul E. Johnson, 2000/05/22
- Re: Speed decrease between 2.0 and 2.1?, Darren Schreiber, 2000/05/23
- Re: Speed decrease between 2.0 and 2.1?, Paul Johnson, 2000/05/23
- Problems with Swarm on LinuxPPC, Darren Schreiber, 2000/05/23
- Re: Problems with Swarm on LinuxPPC, Marcus G. Daniels, 2000/05/23
- Re: Problems with Swarm on LinuxPPC, Alex Lancaster, 2000/05/23
- Re: Problems with Swarm on LinuxPPC, SCHREIBER,DARREN MATTHEW, 2000/05/23
- Re: Problems with Swarm on LinuxPPC, Marcus G. Daniels, 2000/05/24
- Re: Problems with Swarm on LinuxPPC, Darren Schreiber, 2000/05/24
- Re: Problems with Swarm on LinuxPPC, Marcus G. Daniels, 2000/05/24