Using SEDA profiler and Gnuplot

Andreas Ottemo <[email protected]> Tue, 19 Aug 2003 14:57:26 +0200
Newsgroups gmane.comp.java.seda.user
Message-ID <7522E4A26815BA46A6FA6BD9BBBDE4E90409507A@knant131.europe.ad.flextronics.com>
Hi all!
I am currently working on a project using SEDA. It is now time for testing
and so I would like to use SEDA's profiler together with gnuplot. I am
working in a Windows 2000 environment but have Cygwin installed with gcc and
Gnuplot Version 3.7 patchlevel 3. Compiling GnuPlot goes well and I seem to
be able to use the program by itself. However when using the ssprofile-graph
script provided with seda the output files I get seem to be corrupt. The
output from the actual profiling (that is stored in sandstorm-profile.txt)
looks OK but once I let the script work on it things doesn't work. I think
it might have something todo with my mixed up PC/Cyqwin environment and line
breaks but then againg I don't know much Perl and have never used Gnuplot
before. The output from the ssprofile-graph script (dumped with the -g
option) looks like this:

'et title 'Sandstorm profile started at Tue Aug 19 12:57:35 CEST 2003
set xlabel 'Time (100 ms intervals)'
set ylabel 'Queue size
set y2tics
set y2label 'Kilobytes
set y2tics 4096
set grid noxtics ytics noy2tics
plot [[0:1000]][[0:1000]]\
, \
"/cygdrive/c/temp/bluesip/sandstorm-profile.txt" using 2 axes x1y2 t 'Heap
size' with lines lt 1 lw 4
pause -1 'Press any key to exit...'

which might explain why running the following command gives me the following
output:
 
gtb7aott@gtbw2007 /cygdrive/c/lokalt/seda-release-20020712/seda/bin
$ ssprofile-graph /cygdrive/c/temp/bluesip/sandstorm-profile.txt
Warning: empty y2 range [1984:1984], adjusting to [1964.16:2003.84]
Press any key to exit...

Anyone have any suggestions on how to solve this problem?

Thanks in advance, Andreas


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01