<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-9270</id>
	<title>Nabble - tigris - perfbase</title>
	<updated>2008-06-17T02:58:58Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/tigris---perfbase-f9270.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/tigris---perfbase-f9270.html" />
	<subtitle type="html">Management and analysis of software tests and experiments. tigris - perfbase home is &lt;a href=&quot;http://perfbase.tigris.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-17881689</id>
	<title>Re: various patches</title>
	<published>2008-06-17T02:58:58Z</published>
	<updated>2008-06-17T02:58:58Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Patrick Ohly schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; the list has been rather quite lately. Let's make a it a bit more lively
&lt;br&gt;&amp;gt; by &amp;quot;abusing&amp;quot; it for patch submission...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I still use Perfbase occasionally for figures in the (rare) papers that
&lt;br&gt;&amp;gt; I write. This time around I had to solve some problems that were
&lt;br&gt;&amp;gt; discussed on this list before (calculating with time values), add a
&lt;br&gt;&amp;gt; missing feature (scope by run in the median operator) and fix some minor
&lt;br&gt;&amp;gt; problems. See the attached patches for details; I hope someone finds
&lt;br&gt;&amp;gt; them useful.
&lt;/div&gt;&lt;br&gt;Hi Patrick, thanks for your contribution. I will try to review and 
&lt;br&gt;integrate them right away.
&lt;br&gt;&lt;br&gt;perfbase is in active use at Dolphin as well, but few changes have been 
&lt;br&gt;necessary/requested. Let's see if I can do a new release with your patches.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17881689&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17881689&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/various-patches-tp17865720p17881689.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17865720</id>
	<title>various patches</title>
	<published>2008-06-16T07:31:42Z</published>
	<updated>2008-06-16T07:31:42Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;the list has been rather quite lately. Let's make a it a bit more lively
&lt;br&gt;by &amp;quot;abusing&amp;quot; it for patch submission...
&lt;br&gt;&lt;br&gt;I still use Perfbase occasionally for figures in the (rare) papers that
&lt;br&gt;I write. This time around I had to solve some problems that were
&lt;br&gt;discussed on this list before (calculating with time values), add a
&lt;br&gt;missing feature (scope by run in the median operator) and fix some minor
&lt;br&gt;problems. See the attached patches for details; I hope someone finds
&lt;br&gt;them useful.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards, Patrick Ohly
&lt;br&gt;&lt;br&gt;The content of this message is my personal opinion only and although
&lt;br&gt;I am an employee of Intel, the statements I make here in no way
&lt;br&gt;represent Intel's position on the issue, nor am I authorized to speak
&lt;br&gt;on behalf of Intel on this matter.
&lt;br&gt;&lt;br&gt;The email footer below is automatically added to comply with company
&lt;br&gt;policy; this particular email is not confidental and does not have a
&lt;br&gt;limited set of recipients. Therefore it can be redistributed and
&lt;br&gt;discussed without restrictions.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17865720&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17865720&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;0001-Implements-scope-by-run-for-the-median-operator.patch&lt;/strong&gt; (4K) &lt;a href=&quot;http://old.nabble.com/attachment/17865720/0/0001-Implements-scope-by-run-for-the-median-operator.patch&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;0002-adds-ppm-parts-per-million-as-another-base-uni.patch&lt;/strong&gt; (783 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/17865720/1/0002-adds-ppm-parts-per-million-as-another-base-uni.patch&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;0003-enables-the-use-of-time-values-inside-terms-countin.patch&lt;/strong&gt; (2K) &lt;a href=&quot;http://old.nabble.com/attachment/17865720/2/0003-enables-the-use-of-time-values-inside-terms-countin.patch&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/various-patches-tp17865720p17865720.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13834604</id>
	<title>Re: FW: Perfbase Update delete column</title>
	<published>2007-11-19T03:45:29Z</published>
	<updated>2007-11-19T03:45:29Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Amir Ancel wrote:
&lt;br&gt;&amp;gt; Thanks it worked like a charm.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there somewhere a full option Manual for the xml descreption files? 
&lt;br&gt;&lt;br&gt;The documentation generated from the docbook XML is unfortunately very 
&lt;br&gt;incomplete, but the DTD files (in the dtd subdirectory) are up-to-date 
&lt;br&gt;and in sync with the implementation. They do even contain some comments, 
&lt;br&gt;but at least list all valid attributes. Many of them speak for 
&lt;br&gt;themselves. If not, the mailing list will give an answer...
&lt;br&gt;&lt;br&gt;Generally, with the DTD's and a DTD-aware XML editor (I use emacs), you 
&lt;br&gt;can very easily edit and validate the perfbase XML files.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13834604&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13834604&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FW%3A-Perfbase-Update-delete-column-tp13830234p13834604.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13834239</id>
	<title>RE: FW: Perfbase Update delete column</title>
	<published>2007-11-19T03:22:36Z</published>
	<updated>2007-11-19T03:22:36Z</updated>
	<author>
		<name>Amir Ancel</name>
	</author>
	<content type="html">Thanks it worked like a charm.
&lt;br&gt;&lt;br&gt;Is there somewhere a full option Manual for the xml descreption files? 
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;&lt;br&gt;Amir Ancel
&lt;br&gt;Performance
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Joachim Worringen [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13834239&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joachim@...&lt;/a&gt;] 
&lt;br&gt;Sent: Monday, November 19, 2007 11:38
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13834239&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;Subject: Re: [perfbase-users] FW: Perfbase Update delete column
&lt;br&gt;&lt;br&gt;Amir Ancel wrote:
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;Hi Joachim,
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp;I want to delete a column from an experiment.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp;How do I do that with perfbase update -d [].xml ?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp;what's the deletion format for the XML File ?
&lt;br&gt;&lt;br&gt;Hi Amir,
&lt;br&gt;&lt;br&gt;I assume by &amp;quot;deleting a column&amp;quot;, you mean you want to remove a parameter
&lt;br&gt;or result value from the experiment?
&lt;br&gt;&lt;br&gt;In this case, you need to add an attribute action=&amp;quot;drop&amp;quot; to the
&lt;br&gt;&amp;lt;parameter&amp;gt; or &amp;lt;result&amp;gt; element, like:
&lt;br&gt;&lt;br&gt;&amp;lt;parameter action=&amp;quot;drop&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;name&amp;gt;foo&amp;lt;/name&amp;gt;
&lt;br&gt;&amp;lt;/parameter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13834239&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13834239&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13834239&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13834239&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FW%3A-Perfbase-Update-delete-column-tp13830234p13834239.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13830499</id>
	<title>Re: FW: Perfbase Update delete column</title>
	<published>2007-11-19T01:38:12Z</published>
	<updated>2007-11-19T01:38:12Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Amir Ancel wrote:
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;Hi Joachim,
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp;I want to delete a column from an experiment.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp;How do I do that with perfbase update -d [].xml ?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp;what's the deletion format for the XML File ?
&lt;br&gt;&lt;br&gt;Hi Amir,
&lt;br&gt;&lt;br&gt;I assume by &amp;quot;deleting a column&amp;quot;, you mean you want to remove a parameter 
&lt;br&gt;or result value from the experiment?
&lt;br&gt;&lt;br&gt;In this case, you need to add an attribute action=&amp;quot;drop&amp;quot; to the 
&lt;br&gt;&amp;lt;parameter&amp;gt; or &amp;lt;result&amp;gt; element, like:
&lt;br&gt;&lt;br&gt;&amp;lt;parameter action=&amp;quot;drop&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;name&amp;gt;foo&amp;lt;/name&amp;gt;
&lt;br&gt;&amp;lt;/parameter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13830499&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13830499&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FW%3A-Perfbase-Update-delete-column-tp13830234p13830499.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13830234</id>
	<title>FW: Perfbase Update delete column</title>
	<published>2007-11-19T01:19:59Z</published>
	<updated>2007-11-19T01:19:59Z</updated>
	<author>
		<name>Amir Ancel</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;Hi Joachim,
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp;I want to delete a column from an experiment.
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp;How do I do that with perfbase update -d [].xml ?
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp;what's the deletion format for the XML File ?
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp;Thanks,
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp;/Amir Ancel/
&lt;br&gt;&amp;nbsp;*/Performance/*
&lt;br&gt;&amp;nbsp;*/Mellanox Technologies Ltd./*
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13830234&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13830234&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FW%3A-Perfbase-Update-delete-column-tp13830234p13830234.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-11138000</id>
	<title>Re: Scaling input results</title>
	<published>2007-06-15T05:57:30Z</published>
	<updated>2007-06-15T05:57:30Z</updated>
	<author>
		<name>Patrick Loijens</name>
	</author>
	<content type="html">Joachim Worringen schrieb:
&lt;br&gt;&lt;br&gt;&amp;gt; Patrick Loijens wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So my question is: is this correct c.q. is there a more simple 
&lt;br&gt;&amp;gt;&amp;gt; version or another solution?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Did you try the attribute &amp;quot;scale&amp;quot; of &amp;lt;named_location&amp;gt; or 
&lt;br&gt;&amp;gt; &amp;lt;tabular_value&amp;gt; (see pb_input.dtd)? It will scale the numerical input 
&lt;br&gt;&amp;gt; value with the given factor. I.e., to scale from Mbit/s to MB/s, do 
&lt;br&gt;&amp;gt; 'scale=&amp;quot;0.125&amp;quot;'.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Tried it, yes, but it gave (wenn using decimal values) an error, 
&lt;br&gt;something like &amp;quot;not numerical&amp;quot; or &amp;quot;no CDATA&amp;quot;. Since this option didn't 
&lt;br&gt;have a comment in the dtd, I didn't know if it was supposed to do what 
&lt;br&gt;the name suggested.
&lt;br&gt;Now tried it again and it works. Can't tell what I did wrong, I know I 
&lt;br&gt;tested with both &amp;quot;.&amp;quot; and &amp;quot;,&amp;quot; .
&lt;br&gt;A short comment in the input.dtd would be nice.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; A completely other question: is it correct that one can't use a 
&lt;br&gt;&amp;gt;&amp;gt; parametername &amp;quot;opt_2&amp;quot; (without quotes) in queries?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; At least not on purpose. What happens if you do so?
&lt;br&gt;&lt;br&gt;Can't reproduse this one either. Had this problem a few months ago, but 
&lt;br&gt;in between we updated postsql and perfbase....
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;Patrick
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=11138000&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=11138000&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Scaling-input-results-tp10910642p11138000.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-10952224</id>
	<title>Re: Scaling input results</title>
	<published>2007-06-04T09:36:14Z</published>
	<updated>2007-06-04T09:36:14Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Patrick Loijens wrote:
&lt;br&gt;&amp;gt; So my question is: is this correct c.q. is there a more simple version 
&lt;br&gt;&amp;gt; or another solution?
&lt;br&gt;&lt;br&gt;Did you try the attribute &amp;quot;scale&amp;quot; of &amp;lt;named_location&amp;gt; or &amp;lt;tabular_value&amp;gt; 
&lt;br&gt;(see pb_input.dtd)? It will scale the numerical input value with the 
&lt;br&gt;given factor. I.e., to scale from Mbit/s to MB/s, do 'scale=&amp;quot;0.125&amp;quot;'.
&lt;br&gt;&lt;br&gt;&amp;gt; A completely other question: is it correct that one can't use a 
&lt;br&gt;&amp;gt; parametername &amp;quot;opt_2&amp;quot; (without quotes) in queries?
&lt;br&gt;&lt;br&gt;At least not on purpose. What happens if you do so?
&lt;br&gt;&lt;br&gt;&amp;gt; And last, a nice to have: a possibility to compare results between 
&lt;br&gt;&amp;gt; experiments (change-request).
&lt;br&gt;&lt;br&gt;I don't think this makes sense. If benchmarks produce comparable data, 
&lt;br&gt;put them into one experiment. And it's a significant implmentation 
&lt;br&gt;overhead, too.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=10952224&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=10952224&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Scaling-input-results-tp10910642p10952224.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-10910642</id>
	<title>Scaling input results</title>
	<published>2007-06-01T04:52:12Z</published>
	<updated>2007-06-01T04:52:12Z</updated>
	<author>
		<name>Patrick Loijens</name>
	</author>
	<content type="html">Hi.
&lt;br&gt;&lt;br&gt;I'm using perfbase to compare different networktypes using different 
&lt;br&gt;benchmarktools. A bit to late I noticed it's not possible to exchange 
&lt;br&gt;data between experiment-setups, so I need to put all data in one 
&lt;br&gt;experiment. No problem so far.
&lt;br&gt;&lt;br&gt;The problem is scaling of the input of the benchmark results, since the 
&lt;br&gt;results e.q. for bandwidth are -depending on the benchmark- in bit or 
&lt;br&gt;bytes and 2^20 or 10^6. &amp;nbsp;I would like to scale the data to 10^6 bits. 
&lt;br&gt;Until now I gathered the data with
&lt;br&gt;&amp;lt;tabular_location&amp;gt; and &amp;lt;tabular_value&amp;gt;, &amp;nbsp;but if I'm reading the dtd 
&lt;br&gt;correct, these options don't allow the data to be scaled.
&lt;br&gt;&lt;br&gt;The element &amp;quot;term&amp;quot; seems to be what I'm looking for, which seems only 
&lt;br&gt;supported with &amp;lt;derived_parameter&amp;gt;. Correct me if I'm wrong, but if I 
&lt;br&gt;want to use this for my purposes I need a field in the experiment which 
&lt;br&gt;gets the data from the output and stores it for further use and a second 
&lt;br&gt;field which stores the output of &amp;lt;derived_parameter&amp;gt; using the value of 
&lt;br&gt;the first field. Thus &amp;nbsp;for every result value 2 fields need to be created.
&lt;br&gt;&lt;br&gt;So my question is: is this correct c.q. is there a more simple version 
&lt;br&gt;or another solution?
&lt;br&gt;&lt;br&gt;A completely other question: is it correct that one can't use a 
&lt;br&gt;parametername &amp;quot;opt_2&amp;quot; (without quotes) in queries?
&lt;br&gt;&lt;br&gt;And last, a nice to have: a possibility to compare results between 
&lt;br&gt;experiments (change-request).
&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;Patrick Loijens
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=10910642&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=10910642&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Scaling-input-results-tp10910642p10910642.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9582217</id>
	<title>Re: plotting multiple runs as graph</title>
	<published>2007-03-20T15:36:46Z</published>
	<updated>2007-03-20T15:36:46Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">[ We should move this discussion to the dev mailing list - are you 
&lt;br&gt;subscribed? ]
&lt;br&gt;&lt;br&gt;Patrick Ohly schrieb:
&lt;br&gt;&amp;gt; What I was looking at was the data passed into the gnuplot class. At
&lt;br&gt;&amp;gt; that level the runindex would be useful, but is no longer available -
&lt;br&gt;&amp;gt; the direct caller, gnuplot_output.store_data, still has access to the
&lt;br&gt;&amp;gt; full SQL table and I see a value which looks like the runindex in
&lt;br&gt;&amp;gt; db_rows[*][2].
&lt;br&gt;&lt;br&gt;Yes, this is correct. The column name is '_pb_run_idx_'. In 
&lt;br&gt;pb_output.py:1083, you see that the first 4 columns are skipped. These 
&lt;br&gt;are the columns defined in pb_common.py:184-187.
&lt;br&gt;&lt;br&gt;&amp;gt; How can I find out which column contains the runindex in that part of
&lt;br&gt;&amp;gt; the code, if any has it at all? I'd like to check whether the
&lt;br&gt;&amp;gt; segmentation of the data by runindex can be made available as meta
&lt;br&gt;&amp;gt; information to the output class.
&lt;br&gt;&lt;br&gt;_pb_run_idx_ is either &amp;gt; 0 if valid, or -1 if invalid (applies for data 
&lt;br&gt;that is is a calculuated value like sum, average, difference, ... which 
&lt;br&gt;does not stem from one specfic run). It's definitely possible to pass 
&lt;br&gt;this data down to the gnuplot class within the 'data' array (additional 
&lt;br&gt;dimension in this array), and either ignore or use it in the gnuplot 
&lt;br&gt;class. No big deal.
&lt;br&gt;&lt;br&gt;&amp;gt; Indeed. I'm not sure if any of the other output targets would be able to
&lt;br&gt;&amp;gt; use this information, but at least for gnuplot line plots it would be
&lt;br&gt;&amp;gt; nice if this was done automatically.
&lt;br&gt;&lt;br&gt;Any plot target should be able to use it, and also table targets. But 
&lt;br&gt;this is fully specific to the individual output target, so we can just 
&lt;br&gt;go ahead for gnuplot.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; As proposed, the &amp;lt;output&amp;gt; attribute 'run_indices' could have the values 
&lt;br&gt;&amp;gt;&amp;gt; 'merge' (current, and default), 'single' (what you want: a single graph 
&lt;br&gt;&amp;gt;&amp;gt; - not a very intuitive name), 'graph' and 'plot' (create a separate 
&lt;br&gt;&amp;gt;&amp;gt; graph or plot for each run).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I think it will be simpler to not create an additional feature which
&lt;br&gt;&amp;gt; controls whether plots are drawn in the same graph as others or in a
&lt;br&gt;&amp;gt; separate graph: instead of 'graph' and 'plot' it would be more intuitive
&lt;br&gt;&amp;gt; to expose the &amp;quot;run_index&amp;quot; as a parameter of the experiment and then use
&lt;br&gt;&amp;gt; sweeps or multiple &amp;lt;inputs&amp;gt; to get the same effect.
&lt;/div&gt;&lt;br&gt;I agree from a software design point of view, but the usability of this 
&lt;br&gt;will be limited: typically, the individual run indices that you want to 
&lt;br&gt;see are not known. Instead, you know the content of some parameters that 
&lt;br&gt;you want used for filtering, and you want to handle all resulting runs 
&lt;br&gt;in one way or another. Thus, it will be more useful to be able to 
&lt;br&gt;differentiate the available runs at the &amp;quot;end&amp;quot; of the query, not at the 
&lt;br&gt;beginning.
&lt;br&gt;&lt;br&gt;BTW, there is already a way to limit a query to specific runs (&amp;lt;run&amp;gt; 
&lt;br&gt;element). But this does not handle these runs separately.
&lt;br&gt;&lt;br&gt;&amp;gt; For the segmentation of line graphs we could add an attribute
&lt;br&gt;&amp;gt; &amp;quot;segmentation=[&amp;quot;pb_run_index&amp;quot;|&amp;lt;parameter name&amp;gt;]&amp;quot; which would have the
&lt;br&gt;&amp;gt; semantic that each time this parameter changes, a new line segment is
&lt;br&gt;&amp;gt; started.
&lt;br&gt;&lt;br&gt;I think this is sufficient for what you want to achieve, and should be 
&lt;br&gt;the first step to implement.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9582217&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9582217&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/plotting-multiple-runs-as-graph-tp9471160p9582217.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9573818</id>
	<title>Re: plotting multiple runs as graph</title>
	<published>2007-03-20T08:38:35Z</published>
	<updated>2007-03-20T08:38:35Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">On Thu, 2007-03-15 at 15:39 -0700, Joachim Worringen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Patrick Ohly wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Thu, 2007-03-15 at 14:59 -0700, Joachim Worringen wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Actually, they *are* preserved as long as possible. They are not removed 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; until an operator creates a new value from multiple other values (say, a 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;quot;sum&amp;quot; reduction) in which case there is no single run_index for this new 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; value any more.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Hmm, I did't see it in debug output. Perhaps I just missed it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have to look into it again, but this feature is i.e. used in 
&lt;br&gt;&amp;gt; test/runindex (runindex operator).
&lt;/div&gt;&lt;br&gt;What I was looking at was the data passed into the gnuplot class. At
&lt;br&gt;that level the runindex would be useful, but is no longer available -
&lt;br&gt;the direct caller, gnuplot_output.store_data, still has access to the
&lt;br&gt;full SQL table and I see a value which looks like the runindex in
&lt;br&gt;db_rows[*][2].
&lt;br&gt;&lt;br&gt;How can I find out which column contains the runindex in that part of
&lt;br&gt;the code, if any has it at all? I'd like to check whether the
&lt;br&gt;segmentation of the data by runindex can be made available as meta
&lt;br&gt;information to the output class.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; No, gnuplot should treat it as one plot (= one entry in the legend, one
&lt;br&gt;&amp;gt; &amp;gt; color and/or tick type associated with it). The improvement compared to
&lt;br&gt;&amp;gt; &amp;gt; the current status-quo should be that in line-mode disconnected samples
&lt;br&gt;&amp;gt; &amp;gt; should not be connected; currently they are.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hmm, this is a special requirement.
&lt;br&gt;&lt;br&gt;Indeed. I'm not sure if any of the other output targets would be able to
&lt;br&gt;use this information, but at least for gnuplot line plots it would be
&lt;br&gt;nice if this was done automatically.
&lt;br&gt;&lt;br&gt;&amp;gt; As proposed, the &amp;lt;output&amp;gt; attribute 'run_indices' could have the values 
&lt;br&gt;&amp;gt; 'merge' (current, and default), 'single' (what you want: a single graph 
&lt;br&gt;&amp;gt; - not a very intuitive name), 'graph' and 'plot' (create a separate 
&lt;br&gt;&amp;gt; graph or plot for each run).
&lt;br&gt;&lt;br&gt;I think it will be simpler to not create an additional feature which
&lt;br&gt;controls whether plots are drawn in the same graph as others or in a
&lt;br&gt;separate graph: instead of 'graph' and 'plot' it would be more intuitive
&lt;br&gt;to expose the &amp;quot;run_index&amp;quot; as a parameter of the experiment and then use
&lt;br&gt;sweeps or multiple &amp;lt;inputs&amp;gt; to get the same effect.
&lt;br&gt;&lt;br&gt;For the segmentation of line graphs we could add an attribute
&lt;br&gt;&amp;quot;segmentation=[&amp;quot;pb_run_index&amp;quot;|&amp;lt;parameter name&amp;gt;]&amp;quot; which would have the
&lt;br&gt;semantic that each time this parameter changes, a new line segment is
&lt;br&gt;started.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards, Patrick Ohly
&lt;br&gt;&lt;br&gt;The content of this message is my personal opinion only and although
&lt;br&gt;I am an employee of Intel, the statements I make here in no way
&lt;br&gt;represent Intel's position on the issue, nor am I authorized to speak
&lt;br&gt;on behalf of Intel on this matter.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9573818&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9573818&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/plotting-multiple-runs-as-graph-tp9471160p9573818.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9514217</id>
	<title>Re: 	 applying value correction which	linearly	depends on parameter</title>
	<published>2007-03-16T07:12:41Z</published>
	<updated>2007-03-16T07:12:41Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">On Fri, 2007-03-16 at 14:03 +0100, Joachim Worringen wrote:
&lt;br&gt;&amp;gt; Patrick Ohly schrieb:
&lt;br&gt;&amp;gt; &amp;gt; Perhaps let the user specify a Python fragment which defines a function,
&lt;br&gt;&amp;gt; &amp;gt; then apply that function on the parameters specified in such a new
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;python&amp;gt; &amp;lt;term&amp;gt;?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes, this sounds good. You mean within the eval-operator, I assume?
&lt;br&gt;&lt;br&gt;Yes, right. You'll probably have to compile/evaluate the function
&lt;br&gt;definition with a separate globals and locals context first and then
&lt;br&gt;reuse it for each eval(), otherwise the user would be limited to simple
&lt;br&gt;one-line python expressions and performance would be worse.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Patrick Ohly
&lt;br&gt;Senior Software Engineer
&lt;br&gt;&lt;br&gt;Intel GmbH
&lt;br&gt;Software &amp; Solutions Group &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Hermuelheimer Strasse 8a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Phone: +49-2232-2090-30
&lt;br&gt;50321 Bruehl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: +49-2232-2090-29
&lt;br&gt;Germany
&lt;br&gt;&lt;br&gt;Intel GmbH, Dornacher Strasse 1, 85622 Feldkirchen/Muenchen Germany
&lt;br&gt;Sitz der Gesellschaft: Feldkirchen bei Muenchen
&lt;br&gt;Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
&lt;br&gt;Registergericht: Muenchen HRB 47456
&lt;br&gt;Ust.- IdNr./VAT Registration No.: DE129385895
&lt;br&gt;Citibank Frankfurt (BLZ 502 109 00) 600119052
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9514217&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9514217&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/applying-value-correction-which-linearly-depends-on-parameter-tp9512739p9514217.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9514083</id>
	<title>Re: 	 applying value correction which	linearly	depends on parameter</title>
	<published>2007-03-16T07:03:39Z</published>
	<updated>2007-03-16T07:03:39Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Patrick Ohly schrieb:
&lt;br&gt;&amp;gt; Perhaps let the user specify a Python fragment which defines a function,
&lt;br&gt;&amp;gt; then apply that function on the parameters specified in such a new
&lt;br&gt;&amp;gt; &amp;lt;python&amp;gt; &amp;lt;term&amp;gt;?
&lt;br&gt;&lt;br&gt;Yes, this sounds good. You mean within the eval-operator, I assume?
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9514083&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9514083&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/applying-value-correction-which-linearly-depends-on-parameter-tp9512739p9514083.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9513992</id>
	<title>Re: 	 applying value correction which linearly	depends on parameter</title>
	<published>2007-03-16T06:57:39Z</published>
	<updated>2007-03-16T06:57:39Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">On Fri, 2007-03-16 at 13:24 +0100, Joachim Worringen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Patrick Ohly schrieb:
&lt;br&gt;&amp;gt; &amp;gt; Unfortunately time is neither of these. As I feared I get a problem
&lt;br&gt;&amp;gt; &amp;gt; during evaluation (not quite the final formula, just a simple
&lt;br&gt;&amp;gt; &amp;gt; difference):
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;/Projects/software/perfbase.trunk/bin/pb_operators.py&amp;quot;, line 3137, in _calculate
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; print &amp;quot;#* DEBUG: &amp;lt;operator&amp;gt; %s eval(): %s = %s&amp;quot; % (self.name, estr, str(eval(estr)))
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;&amp;lt;string&amp;gt;&amp;quot;, line 1
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; (0.00013609)-(09:05:07.00)
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; So what I miss now is an operation which converts from time to seconds :-/
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The solution that I see is a new specific operator of type &amp;quot;convert&amp;quot; 
&lt;br&gt;&amp;gt; with value=&amp;quot;s&amp;quot; in this case. This operator would be placed to treat the 
&lt;br&gt;&amp;gt; timeval-data vector just before the eval operator. Should not be 
&lt;br&gt;&amp;gt; difficult to implement; the problem will be to define its semantics in a 
&lt;br&gt;&amp;gt; way that is generic and precise at the same time.
&lt;/div&gt;&lt;br&gt;Perhaps let the user specify a Python fragment which defines a function,
&lt;br&gt;then apply that function on the parameters specified in such a new
&lt;br&gt;&amp;lt;python&amp;gt; &amp;lt;term&amp;gt;?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Patrick Ohly
&lt;br&gt;Senior Software Engineer
&lt;br&gt;&lt;br&gt;Intel GmbH
&lt;br&gt;Software &amp; Solutions Group &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Hermuelheimer Strasse 8a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Phone: +49-2232-2090-30
&lt;br&gt;50321 Bruehl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: +49-2232-2090-29
&lt;br&gt;Germany
&lt;br&gt;&lt;br&gt;Intel GmbH, Dornacher Strasse 1, 85622 Feldkirchen/Muenchen Germany
&lt;br&gt;Sitz der Gesellschaft: Feldkirchen bei Muenchen
&lt;br&gt;Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
&lt;br&gt;Registergericht: Muenchen HRB 47456
&lt;br&gt;Ust.- IdNr./VAT Registration No.: DE129385895
&lt;br&gt;Citibank Frankfurt (BLZ 502 109 00) 600119052
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9513992&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9513992&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/applying-value-correction-which-linearly-depends-on-parameter-tp9512739p9513992.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9513612</id>
	<title>Re: avg operator with just one input</title>
	<published>2007-03-16T06:29:51Z</published>
	<updated>2007-03-16T06:29:51Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Patrick Ohly schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, 2007-03-16 at 12:42 +0100, Joachim Worringen wrote:
&lt;br&gt;&amp;gt;&amp;gt; As you described, when you apply the avg operator on data that comes 
&lt;br&gt;&amp;gt;&amp;gt; from a source, it will calculate the average on all result values with 
&lt;br&gt;&amp;gt;&amp;gt; the same set of parameters - reducing multiple data vectors to a single 
&lt;br&gt;&amp;gt;&amp;gt; data vector. In contrast, wenn applying this operator to a data vector 
&lt;br&gt;&amp;gt;&amp;gt; coming from an operator (an operator always emitts a single data 
&lt;br&gt;&amp;gt;&amp;gt; vector), it will reduce this vector to a scalar.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So, just place another avg operator between op.average and the output, 
&lt;br&gt;&amp;gt;&amp;gt; and you should have what you want.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks, that works, but IMHO it would be more intuitive if the average
&lt;br&gt;&amp;gt; operator would do the same automatically if applied to a single input.
&lt;br&gt;&amp;gt; After all, that is always a null-operation in the current design.
&lt;/div&gt;&lt;br&gt;You never generally know in advance how many data sets with the same 
&lt;br&gt;parameter sets a &amp;lt;source&amp;gt; will create. Thus, the same operator may 
&lt;br&gt;deliver a vector and a scalar, depending on the data filtering you've 
&lt;br&gt;done for the &amp;lt;source&amp;gt;. I would rather call this confusing/unexpected 
&lt;br&gt;behaviour than intuitive - the current behaviour is consistent.
&lt;br&gt;&lt;br&gt;The different behaviour of an operator depending on getting its data 
&lt;br&gt;from a &amp;lt;source&amp;gt; or an other &amp;lt;operator&amp;gt; is something to be known. I think 
&lt;br&gt;I even covered it already in the ever-so-incomplete user manual... But 
&lt;br&gt;it's hard to understand until you've done it yourself.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9513612&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9513612&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/avg-operator-with-just-one-input-tp9512089p9513612.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9513538</id>
	<title>Re: 	 applying value correction which linearly	depends on parameter</title>
	<published>2007-03-16T06:24:59Z</published>
	<updated>2007-03-16T06:24:59Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Patrick Ohly schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Unfortunately time is neither of these. As I feared I get a problem
&lt;br&gt;&amp;gt; during evaluation (not quite the final formula, just a simple
&lt;br&gt;&amp;gt; difference):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;/Projects/software/perfbase.trunk/bin/pb_operators.py&amp;quot;, line 3137, in _calculate
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; print &amp;quot;#* DEBUG: &amp;lt;operator&amp;gt; %s eval(): %s = %s&amp;quot; % (self.name, estr, str(eval(estr)))
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;&amp;lt;string&amp;gt;&amp;quot;, line 1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; (0.00013609)-(09:05:07.00)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So what I miss now is an operation which converts from time to seconds :-/
&lt;/div&gt;&lt;br&gt;The solution that I see is a new specific operator of type &amp;quot;convert&amp;quot; 
&lt;br&gt;with value=&amp;quot;s&amp;quot; in this case. This operator would be placed to treat the 
&lt;br&gt;timeval-data vector just before the eval operator. Should not be 
&lt;br&gt;difficult to implement; the problem will be to define its semantics in a 
&lt;br&gt;way that is generic and precise at the same time.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9513538&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9513538&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/applying-value-correction-which-linearly-depends-on-parameter-tp9512739p9513538.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9513354</id>
	<title>Re: 	 applying value correction which linearly depends on parameter</title>
	<published>2007-03-16T06:09:35Z</published>
	<updated>2007-03-16T06:09:35Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">On Fri, 2007-03-16 at 12:47 +0100, Joachim Worringen wrote:
&lt;br&gt;&amp;gt; Patrick Ohly schrieb:
&lt;br&gt;&amp;gt; &amp;gt; Once I get beyond that hurdle, my next problem might be that the t
&lt;br&gt;&amp;gt; &amp;gt; parameter is a &amp;quot;timeofday&amp;quot; value whereas &amp;quot;o&amp;quot; is a &amp;quot;float&amp;quot; because I
&lt;br&gt;&amp;gt; &amp;gt; found &amp;quot;timeofday&amp;quot; too inaccurate for the small offsets that I wanted to
&lt;br&gt;&amp;gt; &amp;gt; store - I'm not sure yet how the &amp;quot;timeofday&amp;quot; to &amp;quot;float&amp;quot; seconds would be
&lt;br&gt;&amp;gt; &amp;gt; handled.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In any case, have a look at the &amp;quot;eval&amp;quot; operator - see test/eval. 
&lt;br&gt;&lt;br&gt;Good point, that does what I need.
&lt;br&gt;&lt;br&gt;&amp;gt; Generally, combining int with float should not be a problem.
&lt;br&gt;&lt;br&gt;Unfortunately time is neither of these. As I feared I get a problem
&lt;br&gt;during evaluation (not quite the final formula, just a simple
&lt;br&gt;difference):
&lt;br&gt;&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase.trunk/bin/pb_operators.py&amp;quot;, line 3137, in _calculate
&lt;br&gt;&amp;nbsp; &amp;nbsp; print &amp;quot;#* DEBUG: &amp;lt;operator&amp;gt; %s eval(): %s = %s&amp;quot; % (self.name, estr, str(eval(estr)))
&lt;br&gt;&amp;nbsp; File &amp;quot;&amp;lt;string&amp;gt;&amp;quot;, line 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; (0.00013609)-(09:05:07.00)
&lt;br&gt;&lt;br&gt;So what I miss now is an operation which converts from time to seconds :-/
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards, Patrick Ohly
&lt;br&gt;&lt;br&gt;The content of this message is my personal opinion only and although
&lt;br&gt;I am an employee of Intel, the statements I make here in no way
&lt;br&gt;represent Intel's position on the issue, nor am I authorized to speak
&lt;br&gt;on behalf of Intel on this matter.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9513354&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9513354&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/applying-value-correction-which-linearly-depends-on-parameter-tp9512739p9513354.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9513313</id>
	<title>Re: avg operator with just one input</title>
	<published>2007-03-16T06:06:11Z</published>
	<updated>2007-03-16T06:06:11Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">On Fri, 2007-03-16 at 12:42 +0100, Joachim Worringen wrote:
&lt;br&gt;&amp;gt; As you described, when you apply the avg operator on data that comes 
&lt;br&gt;&amp;gt; from a source, it will calculate the average on all result values with 
&lt;br&gt;&amp;gt; the same set of parameters - reducing multiple data vectors to a single 
&lt;br&gt;&amp;gt; data vector. In contrast, wenn applying this operator to a data vector 
&lt;br&gt;&amp;gt; coming from an operator (an operator always emitts a single data 
&lt;br&gt;&amp;gt; vector), it will reduce this vector to a scalar.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So, just place another avg operator between op.average and the output, 
&lt;br&gt;&amp;gt; and you should have what you want.
&lt;br&gt;&lt;br&gt;Thanks, that works, but IMHO it would be more intuitive if the average
&lt;br&gt;operator would do the same automatically if applied to a single input.
&lt;br&gt;After all, that is always a null-operation in the current design.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Patrick Ohly
&lt;br&gt;Senior Software Engineer
&lt;br&gt;&lt;br&gt;Intel GmbH
&lt;br&gt;Software &amp; Solutions Group &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Hermuelheimer Strasse 8a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Phone: +49-2232-2090-30
&lt;br&gt;50321 Bruehl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: +49-2232-2090-29
&lt;br&gt;Germany
&lt;br&gt;&lt;br&gt;Intel GmbH, Dornacher Strasse 1, 85622 Feldkirchen/Muenchen Germany
&lt;br&gt;Sitz der Gesellschaft: Feldkirchen bei Muenchen
&lt;br&gt;Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
&lt;br&gt;Registergericht: Muenchen HRB 47456
&lt;br&gt;Ust.- IdNr./VAT Registration No.: DE129385895
&lt;br&gt;Citibank Frankfurt (BLZ 502 109 00) 600119052
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9513313&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9513313&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/avg-operator-with-just-one-input-tp9512089p9513313.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9513050</id>
	<title>Re: 	 applying value correction which linearly depends on parameter</title>
	<published>2007-03-16T05:47:49Z</published>
	<updated>2007-03-16T05:47:49Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Patrick Ohly schrieb:
&lt;br&gt;&amp;gt; My guess is that values declared as parameters in the experiment cannot
&lt;br&gt;&amp;gt; be selected as results in a query, but I haven't checked the source to
&lt;br&gt;&amp;gt; verify this. Correct? If so, would it be very difficult to change this?
&lt;br&gt;&lt;br&gt;Yes, this is correct. I don't think it would be difficult to change, but 
&lt;br&gt;I have no clear picture on the possible implications to the design.
&lt;br&gt;&lt;br&gt;&amp;gt; Once I get beyond that hurdle, my next problem might be that the t
&lt;br&gt;&amp;gt; parameter is a &amp;quot;timeofday&amp;quot; value whereas &amp;quot;o&amp;quot; is a &amp;quot;float&amp;quot; because I
&lt;br&gt;&amp;gt; found &amp;quot;timeofday&amp;quot; too inaccurate for the small offsets that I wanted to
&lt;br&gt;&amp;gt; store - I'm not sure yet how the &amp;quot;timeofday&amp;quot; to &amp;quot;float&amp;quot; seconds would be
&lt;br&gt;&amp;gt; handled.
&lt;br&gt;&lt;br&gt;In any case, have a look at the &amp;quot;eval&amp;quot; operator - see test/eval. 
&lt;br&gt;Generally, combining int with float should not be a problem.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9513050&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9513050&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/applying-value-correction-which-linearly-depends-on-parameter-tp9512739p9513050.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9512987</id>
	<title>Re: avg operator with just one input</title>
	<published>2007-03-16T05:42:45Z</published>
	<updated>2007-03-16T05:42:45Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Patrick Ohly schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; stupid question, but how do I calculate the average of all values in a
&lt;br&gt;&amp;gt; data source? The following has no effect because the operator by default
&lt;br&gt;&amp;gt; is only applied to matching values of different inputs (operator/match
&lt;br&gt;&amp;gt; attribute), and here I only have one input:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;operator id=&amp;quot;op.average&amp;quot; type=&amp;quot;avg&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;src.offset&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/operator&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;output target=&amp;quot;raw_text&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;op.average&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/output&amp;gt;
&lt;/div&gt;&lt;br&gt;As you described, when you apply the avg operator on data that comes 
&lt;br&gt;from a source, it will calculate the average on all result values with 
&lt;br&gt;the same set of parameters - reducing multiple data vectors to a single 
&lt;br&gt;data vector. In contrast, wenn applying this operator to a data vector 
&lt;br&gt;coming from an operator (an operator always emitts a single data 
&lt;br&gt;vector), it will reduce this vector to a scalar.
&lt;br&gt;&lt;br&gt;So, just place another avg operator between op.average and the output, 
&lt;br&gt;and you should have what you want.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joahcim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9512987&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9512987&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/avg-operator-with-just-one-input-tp9512089p9512987.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9512739</id>
	<title>applying value correction which linearly depends on parameter</title>
	<published>2007-03-16T05:26:23Z</published>
	<updated>2007-03-16T05:26:23Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I have a graph with offset &amp;quot;o&amp;quot; = f(time &amp;quot;t&amp;quot;). I can plot o as result
&lt;br&gt;with t as parameter, but what I need instead is
&lt;br&gt;&amp;nbsp; o' = f(t) - ( offset + scale * t)
&lt;br&gt;&lt;br&gt;I tried to formulate this &amp;quot;offset + scale * t&amp;quot; as:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;source id=&amp;quot;src.offset&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;result&amp;gt;time_offset&amp;lt;/result&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;p.time&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/source&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;source id=&amp;quot;src.basetime&amp;quot; scale=&amp;quot;f.scale&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;result&amp;gt;p.time&amp;lt;/result&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;p.time&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/source&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;operator id=&amp;quot;op.basetime&amp;quot; type=&amp;quot;offset&amp;quot; value=&amp;quot;f.offset&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;src.basetime&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/operator&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;operator id=&amp;quot;op.scaled&amp;quot; type=&amp;quot;diff&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;src.offset&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;op.basetime&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/operator&amp;gt;
&lt;br&gt;&lt;br&gt;but this already fails for src.basetime:
&lt;br&gt;&lt;br&gt;Traceback (most recent call last):
&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_query.py&amp;quot;, line 723, in ?
&lt;br&gt;&amp;nbsp; &amp;nbsp; main()
&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_query.py&amp;quot;, line 672, in main
&lt;br&gt;&amp;nbsp; &amp;nbsp; data_outputs = parse_query_spec()
&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_query.py&amp;quot;, line 618, in parse_query_spec
&lt;br&gt;&amp;nbsp; &amp;nbsp; init_query_objects(obj_id, qryobj_dag)
&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_query.py&amp;quot;, line 491, in init_query_objects
&lt;br&gt;&amp;nbsp; &amp;nbsp; init_query_objects(obj.childs[idx], qryobj_dag)
&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_query.py&amp;quot;, line 491, in init_query_objects
&lt;br&gt;&amp;nbsp; &amp;nbsp; init_query_objects(obj.childs[idx], qryobj_dag)
&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_query.py&amp;quot;, line 491, in init_query_objects
&lt;br&gt;&amp;nbsp; &amp;nbsp; init_query_objects(obj.childs[idx], qryobj_dag)
&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_query.py&amp;quot;, line 494, in init_query_objects
&lt;br&gt;&amp;nbsp; &amp;nbsp; eval(&amp;quot;init_&amp;quot;+obj.xml.tag)(obj.xml)
&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_query.py&amp;quot;, line 274, in init_source
&lt;br&gt;&amp;nbsp; &amp;nbsp; s = source(xml_node, all_nodes, exp_db)
&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase.trunk/bin/pb_source.py&amp;quot;, line 295, in __init__
&lt;br&gt;&amp;nbsp; &amp;nbsp; r_name = all_nodes[r.text].get_content()
&lt;br&gt;&lt;br&gt;My guess is that values declared as parameters in the experiment cannot
&lt;br&gt;be selected as results in a query, but I haven't checked the source to
&lt;br&gt;verify this. Correct? If so, would it be very difficult to change this?
&lt;br&gt;&lt;br&gt;Once I get beyond that hurdle, my next problem might be that the t
&lt;br&gt;parameter is a &amp;quot;timeofday&amp;quot; value whereas &amp;quot;o&amp;quot; is a &amp;quot;float&amp;quot; because I
&lt;br&gt;found &amp;quot;timeofday&amp;quot; too inaccurate for the small offsets that I wanted to
&lt;br&gt;store - I'm not sure yet how the &amp;quot;timeofday&amp;quot; to &amp;quot;float&amp;quot; seconds would be
&lt;br&gt;handled.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards, Patrick Ohly
&lt;br&gt;&lt;br&gt;The content of this message is my personal opinion only and although
&lt;br&gt;I am an employee of Intel, the statements I make here in no way
&lt;br&gt;represent Intel's position on the issue, nor am I authorized to speak
&lt;br&gt;on behalf of Intel on this matter.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9512739&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9512739&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/applying-value-correction-which-linearly-depends-on-parameter-tp9512739p9512739.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9512089</id>
	<title>avg operator with just one input</title>
	<published>2007-03-16T04:37:31Z</published>
	<updated>2007-03-16T04:37:31Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;stupid question, but how do I calculate the average of all values in a
&lt;br&gt;data source? The following has no effect because the operator by default
&lt;br&gt;is only applied to matching values of different inputs (operator/match
&lt;br&gt;attribute), and here I only have one input:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;operator id=&amp;quot;op.average&amp;quot; type=&amp;quot;avg&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;src.offset&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/operator&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;output target=&amp;quot;raw_text&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;op.average&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/output&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Patrick Ohly
&lt;br&gt;Senior Software Engineer
&lt;br&gt;&lt;br&gt;Intel GmbH
&lt;br&gt;Software &amp; Solutions Group &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Hermuelheimer Strasse 8a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Phone: +49-2232-2090-30
&lt;br&gt;50321 Bruehl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: +49-2232-2090-29
&lt;br&gt;Germany
&lt;br&gt;&lt;br&gt;Intel GmbH, Dornacher Strasse 1, 85622 Feldkirchen/Muenchen Germany
&lt;br&gt;Sitz der Gesellschaft: Feldkirchen bei Muenchen
&lt;br&gt;Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
&lt;br&gt;Registergericht: Muenchen HRB 47456
&lt;br&gt;Ust.- IdNr./VAT Registration No.: DE129385895
&lt;br&gt;Citibank Frankfurt (BLZ 502 109 00) 600119052
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9512089&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9512089&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/avg-operator-with-just-one-input-tp9512089p9512089.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9497580</id>
	<title>plotting in different styles in the same graph</title>
	<published>2007-03-15T09:55:26Z</published>
	<updated>2007-03-15T09:55:26Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I just realized that there is one limitation in perfbase &amp;lt;output&amp;gt;: the
&lt;br&gt;&amp;quot;type&amp;quot;, &amp;quot;errors&amp;quot;, etc. attributes apply to all inputs. I just found that
&lt;br&gt;this is too restrictive when I wanted to plot one &amp;lt;input&amp;gt; with
&lt;br&gt;errors=&amp;quot;ydelta&amp;quot; and another without errors (because it is the result of
&lt;br&gt;an operation and didn't have error information to begin with). Both
&lt;br&gt;plots share the same x and y range, so it would be natural to show them
&lt;br&gt;in one graph.
&lt;br&gt;&lt;br&gt;There might be output types where all graphs have to be identical, but
&lt;br&gt;for gnuplot it would be nice if the same attributes could be attached to
&lt;br&gt;individual &amp;lt;input&amp;gt; elements.
&lt;br&gt;&lt;br&gt;Just thought I mention it - I don't have the time to provide a patch
&lt;br&gt;which adds this feature :-/
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Patrick Ohly
&lt;br&gt;Senior Software Engineer
&lt;br&gt;&lt;br&gt;Intel GmbH
&lt;br&gt;Software &amp; Solutions Group &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Hermuelheimer Strasse 8a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Phone: +49-2232-2090-30
&lt;br&gt;50321 Bruehl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: +49-2232-2090-29
&lt;br&gt;Germany
&lt;br&gt;&lt;br&gt;Intel GmbH, Dornacher Strasse 1, 85622 Feldkirchen/Muenchen Germany
&lt;br&gt;Sitz der Gesellschaft: Feldkirchen bei Muenchen
&lt;br&gt;Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
&lt;br&gt;Registergericht: Muenchen HRB 47456
&lt;br&gt;Ust.- IdNr./VAT Registration No.: DE129385895
&lt;br&gt;Citibank Frankfurt (BLZ 502 109 00) 600119052
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9497580&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9497580&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/plotting-in-different-styles-in-the-same-graph-tp9497580p9497580.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9495871</id>
	<title>Re: plotting multiple runs as graph</title>
	<published>2007-03-15T08:39:31Z</published>
	<updated>2007-03-15T08:39:31Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Patrick Ohly wrote:
&lt;br&gt;&amp;gt; On Thu, 2007-03-15 at 14:59 -0700, Joachim Worringen wrote:
&lt;br&gt;&amp;gt;&amp;gt; Actually, they *are* preserved as long as possible. They are not removed 
&lt;br&gt;&amp;gt;&amp;gt; until an operator creates a new value from multiple other values (say, a 
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;sum&amp;quot; reduction) in which case there is no single run_index for this new 
&lt;br&gt;&amp;gt;&amp;gt; value any more.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hmm, I did't see it in debug output. Perhaps I just missed it.
&lt;br&gt;&lt;br&gt;I have to look into it again, but this feature is i.e. used in 
&lt;br&gt;test/runindex (runindex operator).
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Only &amp;quot;sort of&amp;quot;, because with true sweeps across the runs I would have
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; distinct plots with different coloring and separate entries in the graph
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; legend. With &amp;quot;sweep_resolve=extern&amp;quot; they would even end up in entirely
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; different graphs.
&lt;br&gt;&amp;gt;&amp;gt; Don't you want each run be plotted separately?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No, gnuplot should treat it as one plot (= one entry in the legend, one
&lt;br&gt;&amp;gt; color and/or tick type associated with it). The improvement compared to
&lt;br&gt;&amp;gt; the current status-quo should be that in line-mode disconnected samples
&lt;br&gt;&amp;gt; should not be connected; currently they are.
&lt;/div&gt;&lt;br&gt;Hmm, this is a special requirement. Remember that gnuplot is not the 
&lt;br&gt;only output target - XML, raw text already exist, and I am adding 
&lt;br&gt;support for ploticus and LaTeX as time permits. But it should be possible.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Yes, this is only a partial solution for this reason. What you would 
&lt;br&gt;&amp;gt;&amp;gt; like, I think, is to specify some parameter filters and have the data of 
&lt;br&gt;&amp;gt;&amp;gt; each run that matches these filtering be processed as an individual data 
&lt;br&gt;&amp;gt;&amp;gt; vector. Right?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No, if I understand the meaning of &amp;quot;data vector&amp;quot; right this is not what
&lt;br&gt;&amp;gt; I mean. Does one &amp;quot;data vector&amp;quot; map to one gnuplot &amp;quot;plot&amp;quot; command?
&lt;br&gt;&lt;br&gt;In a way, yes (you can create multiple plots with one gnuplot plot 
&lt;br&gt;command line). Each data vector is plotted as a separate plot or graph. 
&lt;br&gt;What we want is to separate the elements of a single data vector by 
&lt;br&gt;their run indices.
&lt;br&gt;&lt;br&gt;As proposed, the &amp;lt;output&amp;gt; attribute 'run_indices' could have the values 
&lt;br&gt;'merge' (current, and default), 'single' (what you want: a single graph 
&lt;br&gt;- not a very intuitive name), 'graph' and 'plot' (create a separate 
&lt;br&gt;graph or plot for each run).
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9495871&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9495871&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/plotting-multiple-runs-as-graph-tp9471160p9495871.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9495553</id>
	<title>Re: plotting multiple runs as graph</title>
	<published>2007-03-15T08:23:58Z</published>
	<updated>2007-03-15T08:23:58Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">On Thu, 2007-03-15 at 14:59 -0700, Joachim Worringen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Patrick Ohly wrote:
&lt;br&gt;&amp;gt; &amp;gt; I was hoping that the run indices would remain attached to the datasets
&lt;br&gt;&amp;gt; &amp;gt; as long as possible while moving through the pipeline, so that when they
&lt;br&gt;&amp;gt; &amp;gt; reach the &amp;lt;output&amp;gt; stage the code which prepares the data for gnuplot
&lt;br&gt;&amp;gt; &amp;gt; can insert the empty lines that gnuplot needs.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Actually, they *are* preserved as long as possible. They are not removed 
&lt;br&gt;&amp;gt; until an operator creates a new value from multiple other values (say, a 
&lt;br&gt;&amp;gt; &amp;quot;sum&amp;quot; reduction) in which case there is no single run_index for this new 
&lt;br&gt;&amp;gt; value any more.
&lt;/div&gt;&lt;br&gt;Hmm, I did't see it in debug output. Perhaps I just missed it.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; Only &amp;quot;sort of&amp;quot;, because with true sweeps across the runs I would have
&lt;br&gt;&amp;gt; &amp;gt; distinct plots with different coloring and separate entries in the graph
&lt;br&gt;&amp;gt; &amp;gt; legend. With &amp;quot;sweep_resolve=extern&amp;quot; they would even end up in entirely
&lt;br&gt;&amp;gt; &amp;gt; different graphs.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Don't you want each run be plotted separately?
&lt;br&gt;&lt;br&gt;No, gnuplot should treat it as one plot (= one entry in the legend, one
&lt;br&gt;color and/or tick type associated with it). The improvement compared to
&lt;br&gt;the current status-quo should be that in line-mode disconnected samples
&lt;br&gt;should not be connected; currently they are.
&lt;br&gt;&lt;br&gt;&amp;gt; Yes, this is only a partial solution for this reason. What you would 
&lt;br&gt;&amp;gt; like, I think, is to specify some parameter filters and have the data of 
&lt;br&gt;&amp;gt; each run that matches these filtering be processed as an individual data 
&lt;br&gt;&amp;gt; vector. Right?
&lt;br&gt;&lt;br&gt;No, if I understand the meaning of &amp;quot;data vector&amp;quot; right this is not what
&lt;br&gt;I mean. Does one &amp;quot;data vector&amp;quot; map to one gnuplot &amp;quot;plot&amp;quot; command?
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp;But then again, how should the data be presented by the 
&lt;br&gt;&amp;gt; output? I.e. for this case - 3 different plots in one graph, 3 different 
&lt;br&gt;&amp;gt; graphs, ...? I think one single plot in one chart can be done with the 
&lt;br&gt;&amp;gt; current version?
&lt;br&gt;&lt;br&gt;One single plot, one graph, as in the current version, but without lines
&lt;br&gt;connecting unrelated runs.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Patrick Ohly
&lt;br&gt;Senior Software Engineer
&lt;br&gt;&lt;br&gt;Intel GmbH
&lt;br&gt;Software &amp; Solutions Group &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Hermuelheimer Strasse 8a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Phone: +49-2232-2090-30
&lt;br&gt;50321 Bruehl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: +49-2232-2090-29
&lt;br&gt;Germany
&lt;br&gt;&lt;br&gt;Intel GmbH, Dornacher Strasse 1, 85622 Feldkirchen/Muenchen Germany
&lt;br&gt;Sitz der Gesellschaft: Feldkirchen bei Muenchen
&lt;br&gt;Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
&lt;br&gt;Registergericht: Muenchen HRB 47456
&lt;br&gt;Ust.- IdNr./VAT Registration No.: DE129385895
&lt;br&gt;Citibank Frankfurt (BLZ 502 109 00) 600119052
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9495553&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9495553&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/plotting-multiple-runs-as-graph-tp9471160p9495553.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9495025</id>
	<title>Re: plotting multiple runs as graph</title>
	<published>2007-03-15T08:04:58Z</published>
	<updated>2007-03-15T08:04:58Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Patrick Ohly wrote:
&lt;br&gt;&amp;gt; I was hoping that the run indices would remain attached to the datasets
&lt;br&gt;&amp;gt; as long as possible while moving through the pipeline, so that when they
&lt;br&gt;&amp;gt; reach the &amp;lt;output&amp;gt; stage the code which prepares the data for gnuplot
&lt;br&gt;&amp;gt; can insert the empty lines that gnuplot needs.
&lt;br&gt;&lt;br&gt;Actually, they *are* preserved as long as possible. They are not removed 
&lt;br&gt;until an operator creates a new value from multiple other values (say, a 
&lt;br&gt;&amp;quot;sum&amp;quot; reduction) in which case there is no single run_index for this new 
&lt;br&gt;value any more. But it was not intended to differentiate data by the run 
&lt;br&gt;index, only by the experiment parametes.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; You want to have sort of a &amp;quot;sweep&amp;quot; across the run indices of all runs 
&lt;br&gt;&amp;gt;&amp;gt; that match your filters, like it is possible to do for any paramter.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Only &amp;quot;sort of&amp;quot;, because with true sweeps across the runs I would have
&lt;br&gt;&amp;gt; distinct plots with different coloring and separate entries in the graph
&lt;br&gt;&amp;gt; legend. With &amp;quot;sweep_resolve=extern&amp;quot; they would even end up in entirely
&lt;br&gt;&amp;gt; different graphs.
&lt;br&gt;&lt;br&gt;Don't you want each run be plotted separately?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; As a workaround, you could to the following: create a parameter 
&lt;br&gt;&amp;gt;&amp;gt; (occurrence=&amp;quot;once&amp;quot;) to which you assign a unique id when importing the 
&lt;br&gt;&amp;gt;&amp;gt; data (i.e. the number of seconds date %s if you can ensure a big enough 
&lt;br&gt;&amp;gt;&amp;gt; gap between each import operation). You can then sweep across this 
&lt;br&gt;&amp;gt;&amp;gt; parameter and get one data vector per run.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Wouldn't this duplicating the already existing pb_run_index? My input
&lt;br&gt;&amp;gt; uses separators to increment the index; this would be hard to reproduce
&lt;br&gt;&amp;gt; using a occurrence=&amp;quot;once&amp;quot; parameter. Incrementing on each match might
&lt;br&gt;&amp;gt; work, but still is a duplication of already existing functionality.
&lt;/div&gt;&lt;br&gt;Admitted - it's an ugly workaround which does not always work...
&lt;br&gt;&lt;br&gt;&amp;gt; I wonder whether it wouldn't be simpler to expose &amp;quot;pb_run_index&amp;quot; as a
&lt;br&gt;&amp;gt; special parameter name. I had tried that, but it was rejected by the
&lt;br&gt;&amp;gt; input sanity check (due to not being a parameter declared as part of the
&lt;br&gt;&amp;gt; experiment).
&lt;br&gt;&lt;br&gt;In fact, I had already thought of exposing the &amp;quot;meta data&amp;quot; (timestamps, 
&lt;br&gt;author, ...) of a run in this way, making them available as a parameter 
&lt;br&gt;for filtering. Please go ahead! ;-)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hmm, yes, simply overriding that check and providing default values for
&lt;br&gt;&amp;gt; &amp;quot;pb_run_index&amp;quot; works. The attached patch demonstrates what I mean in a
&lt;br&gt;&amp;gt; rather crude way (not sure about the &amp;quot;integer&amp;quot; type). With it I can
&lt;br&gt;&amp;gt; specify a sweep across pb_run_index, like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;parameter id=&amp;quot;p.run&amp;quot; show=&amp;quot;filter&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;pb_run_index&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;sweep&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;&amp;lt;equal&amp;gt;4&amp;lt;/equal&amp;gt;&amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;&amp;lt;equal&amp;gt;5&amp;lt;/equal&amp;gt;&amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;&amp;lt;equal&amp;gt;6&amp;lt;/equal&amp;gt;&amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/sweep&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/parameter&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;p.run&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/source&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is not quite what I need because as I said above, I end up with
&lt;br&gt;&amp;gt; three plots in one graph, but it is close - if I disable the legend it
&lt;br&gt;&amp;gt; is actually quite usable. Note quite so nice is that the sweep has to be
&lt;br&gt;&amp;gt; hard-coded in the input file.
&lt;/div&gt;&lt;br&gt;Yes, this is only a partial solution for this reason. What you would 
&lt;br&gt;like, I think, is to specify some parameter filters and have the data of 
&lt;br&gt;each run that matches these filtering be processed as an individual data 
&lt;br&gt;vector. Right? But then again, how should the data be presented by the 
&lt;br&gt;output? I.e. for this case - 3 different plots in one graph, 3 different 
&lt;br&gt;graphs, ...? I think one single plot in one chart can be done with the 
&lt;br&gt;current version?
&lt;br&gt;&lt;br&gt;&amp;gt; Still, passing the run index through to output stage and there using it
&lt;br&gt;&amp;gt; to separate elements looks like a better approach to me.
&lt;br&gt;&lt;br&gt;Yes, this sounds doable. The interface would be something like an 
&lt;br&gt;attribute to &amp;lt;output&amp;gt;: runs=&amp;quot;merge&amp;quot; or runs=&amp;quot;split&amp;quot;. But please let us 
&lt;br&gt;clearify the desired output (see above).
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9495025&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9495025&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/plotting-multiple-runs-as-graph-tp9471160p9495025.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9494764</id>
	<title>Re: plotting multiple runs as graph</title>
	<published>2007-03-15T07:45:48Z</published>
	<updated>2007-03-15T07:45:48Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Evgeny Kagan wrote:
&lt;br&gt;&amp;gt; How can I &amp;nbsp;unsubscribe from these mails?
&lt;br&gt;&lt;br&gt;Take a look at the bottom line of each mail.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9494764&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9494764&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/plotting-multiple-runs-as-graph-tp9471160p9494764.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9494211</id>
	<title>RE: plotting multiple runs as graph</title>
	<published>2007-03-15T07:13:09Z</published>
	<updated>2007-03-15T07:13:09Z</updated>
	<author>
		<name>Evgeny Kagan</name>
	</author>
	<content type="html">How can I &amp;nbsp;unsubscribe from these mails?
&lt;br&gt;&lt;br&gt;Thank You 
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Patrick Ohly [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9494211&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;patrick.ohly@...&lt;/a&gt;] 
&lt;br&gt;Sent: Thursday, March 15, 2007 3:10 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9494211&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;Subject: Re: [perfbase-users] plotting multiple runs as graph
&lt;br&gt;&lt;br&gt;On Wed, 2007-03-14 at 20:50 +0100, Joachim Worringen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Patrick Ohly schrieb:
&lt;br&gt;&amp;gt; &amp;gt; Is there a way to separate the different runs in the graph? In 
&lt;br&gt;&amp;gt; &amp;gt; gnuplot itself this would be done by inserting a blank line in the 
&lt;br&gt;&amp;gt; &amp;gt; data file, but how can perfbase instructed (or patched, if 
&lt;br&gt;&amp;gt; &amp;gt; necessary) to insert that?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This type of query (better: what you want it to do) does not align 
&lt;br&gt;&amp;gt; with the design of perfbase conc. the &amp;lt;source&amp;gt; element: it does 
&lt;br&gt;&amp;gt; provide a stream (&amp;quot;data vector&amp;quot;) which contains all parameter and 
&lt;br&gt;&amp;gt; result values (and run indices) of the data sets that match the 
&lt;br&gt;&amp;gt; specified filtering on the parameters. This means, it is a single 
&lt;br&gt;&amp;gt; stream of data, no gaps or something between different runs. Only the 
&lt;br&gt;&amp;gt; embedded run indices show which run each dataset comes from.
&lt;/div&gt;&lt;br&gt;I was hoping that the run indices would remain attached to the datasets
&lt;br&gt;as long as possible while moving through the pipeline, so that when they
&lt;br&gt;reach the &amp;lt;output&amp;gt; stage the code which prepares the data for gnuplot
&lt;br&gt;can insert the empty lines that gnuplot needs.
&lt;br&gt;&lt;br&gt;&amp;gt; You want to have sort of a &amp;quot;sweep&amp;quot; across the run indices of all runs 
&lt;br&gt;&amp;gt; that match your filters, like it is possible to do for any paramter.
&lt;br&gt;&lt;br&gt;Only &amp;quot;sort of&amp;quot;, because with true sweeps across the runs I would have
&lt;br&gt;distinct plots with different coloring and separate entries in the graph
&lt;br&gt;legend. With &amp;quot;sweep_resolve=extern&amp;quot; they would even end up in entirely
&lt;br&gt;different graphs.
&lt;br&gt;&lt;br&gt;&amp;gt; As a workaround, you could to the following: create a parameter
&lt;br&gt;&amp;gt; (occurrence=&amp;quot;once&amp;quot;) to which you assign a unique id when importing the
&lt;br&gt;&lt;br&gt;&amp;gt; data (i.e. the number of seconds date %s if you can ensure a big 
&lt;br&gt;&amp;gt; enough gap between each import operation). You can then sweep across 
&lt;br&gt;&amp;gt; this parameter and get one data vector per run.
&lt;br&gt;&lt;br&gt;Wouldn't this duplicating the already existing pb_run_index? My input
&lt;br&gt;uses separators to increment the index; this would be hard to reproduce
&lt;br&gt;using a occurrence=&amp;quot;once&amp;quot; parameter. Incrementing on each match might
&lt;br&gt;work, but still is a duplication of already existing functionality.
&lt;br&gt;&lt;br&gt;I wonder whether it wouldn't be simpler to expose &amp;quot;pb_run_index&amp;quot; as a
&lt;br&gt;special parameter name. I had tried that, but it was rejected by the
&lt;br&gt;input sanity check (due to not being a parameter declared as part of the
&lt;br&gt;experiment).
&lt;br&gt;&lt;br&gt;Hmm, yes, simply overriding that check and providing default values for
&lt;br&gt;&amp;quot;pb_run_index&amp;quot; works. The attached patch demonstrates what I mean in a
&lt;br&gt;rather crude way (not sure about the &amp;quot;integer&amp;quot; type). With it I can
&lt;br&gt;specify a sweep across pb_run_index, like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;parameter id=&amp;quot;p.run&amp;quot; show=&amp;quot;filter&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;pb_run_index&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;sweep&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;&amp;lt;equal&amp;gt;4&amp;lt;/equal&amp;gt;&amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;&amp;lt;equal&amp;gt;5&amp;lt;/equal&amp;gt;&amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;&amp;lt;equal&amp;gt;6&amp;lt;/equal&amp;gt;&amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/sweep&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/parameter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;p.run&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/source&amp;gt;
&lt;br&gt;&lt;br&gt;This is not quite what I need because as I said above, I end up with
&lt;br&gt;three plots in one graph, but it is close - if I disable the legend it
&lt;br&gt;is actually quite usable. Note quite so nice is that the sweep has to be
&lt;br&gt;hard-coded in the input file.
&lt;br&gt;&lt;br&gt;Still, passing the run index through to output stage and there using it
&lt;br&gt;to separate elements looks like a better approach to me.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Patrick Ohly
&lt;br&gt;Senior Software Engineer
&lt;br&gt;&lt;br&gt;Intel GmbH
&lt;br&gt;Software &amp; Solutions Group &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Hermuelheimer Strasse 8a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Phone: +49-2232-2090-30
&lt;br&gt;50321 Bruehl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: +49-2232-2090-29
&lt;br&gt;Germany
&lt;br&gt;&lt;br&gt;Intel GmbH, Dornacher Strasse 1, 85622 Feldkirchen/Muenchen Germany Sitz
&lt;br&gt;der Gesellschaft: Feldkirchen bei Muenchen
&lt;br&gt;Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
&lt;br&gt;Registergericht: Muenchen HRB 47456
&lt;br&gt;Ust.- IdNr./VAT Registration No.: DE129385895 Citibank Frankfurt (BLZ
&lt;br&gt;502 109 00) 600119052
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9494211&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9494211&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/plotting-multiple-runs-as-graph-tp9471160p9494211.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9494156</id>
	<title>Re: plotting multiple runs as graph</title>
	<published>2007-03-15T07:10:08Z</published>
	<updated>2007-03-15T07:10:08Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">On Wed, 2007-03-14 at 20:50 +0100, Joachim Worringen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Patrick Ohly schrieb:
&lt;br&gt;&amp;gt; &amp;gt; Is there a way to separate the different runs in the graph? In gnuplot
&lt;br&gt;&amp;gt; &amp;gt; itself this would be done by inserting a blank line in the data file,
&lt;br&gt;&amp;gt; &amp;gt; but how can perfbase instructed (or patched, if necessary) to insert
&lt;br&gt;&amp;gt; &amp;gt; that?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This type of query (better: what you want it to do) does not align with 
&lt;br&gt;&amp;gt; the design of perfbase conc. the &amp;lt;source&amp;gt; element: it does provide a 
&lt;br&gt;&amp;gt; stream (&amp;quot;data vector&amp;quot;) which contains all parameter and result values 
&lt;br&gt;&amp;gt; (and run indices) of the data sets that match the specified filtering on 
&lt;br&gt;&amp;gt; the parameters. This means, it is a single stream of data, no gaps or 
&lt;br&gt;&amp;gt; something between different runs. Only the embedded run indices show 
&lt;br&gt;&amp;gt; which run each dataset comes from.
&lt;/div&gt;&lt;/div&gt;I was hoping that the run indices would remain attached to the datasets
&lt;br&gt;as long as possible while moving through the pipeline, so that when they
&lt;br&gt;reach the &amp;lt;output&amp;gt; stage the code which prepares the data for gnuplot
&lt;br&gt;can insert the empty lines that gnuplot needs.
&lt;br&gt;&lt;br&gt;&amp;gt; You want to have sort of a &amp;quot;sweep&amp;quot; across the run indices of all runs 
&lt;br&gt;&amp;gt; that match your filters, like it is possible to do for any paramter.
&lt;br&gt;&lt;br&gt;Only &amp;quot;sort of&amp;quot;, because with true sweeps across the runs I would have
&lt;br&gt;distinct plots with different coloring and separate entries in the graph
&lt;br&gt;legend. With &amp;quot;sweep_resolve=extern&amp;quot; they would even end up in entirely
&lt;br&gt;different graphs.
&lt;br&gt;&lt;br&gt;&amp;gt; As a workaround, you could to the following: create a parameter 
&lt;br&gt;&amp;gt; (occurrence=&amp;quot;once&amp;quot;) to which you assign a unique id when importing the 
&lt;br&gt;&amp;gt; data (i.e. the number of seconds date %s if you can ensure a big enough 
&lt;br&gt;&amp;gt; gap between each import operation). You can then sweep across this 
&lt;br&gt;&amp;gt; parameter and get one data vector per run.
&lt;br&gt;&lt;br&gt;Wouldn't this duplicating the already existing pb_run_index? My input
&lt;br&gt;uses separators to increment the index; this would be hard to reproduce
&lt;br&gt;using a occurrence=&amp;quot;once&amp;quot; parameter. Incrementing on each match might
&lt;br&gt;work, but still is a duplication of already existing functionality.
&lt;br&gt;&lt;br&gt;I wonder whether it wouldn't be simpler to expose &amp;quot;pb_run_index&amp;quot; as a
&lt;br&gt;special parameter name. I had tried that, but it was rejected by the
&lt;br&gt;input sanity check (due to not being a parameter declared as part of the
&lt;br&gt;experiment).
&lt;br&gt;&lt;br&gt;Hmm, yes, simply overriding that check and providing default values for
&lt;br&gt;&amp;quot;pb_run_index&amp;quot; works. The attached patch demonstrates what I mean in a
&lt;br&gt;rather crude way (not sure about the &amp;quot;integer&amp;quot; type). With it I can
&lt;br&gt;specify a sweep across pb_run_index, like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;parameter id=&amp;quot;p.run&amp;quot; show=&amp;quot;filter&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;pb_run_index&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;sweep&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;&amp;lt;equal&amp;gt;4&amp;lt;/equal&amp;gt;&amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;&amp;lt;equal&amp;gt;5&amp;lt;/equal&amp;gt;&amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;&amp;lt;equal&amp;gt;6&amp;lt;/equal&amp;gt;&amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/sweep&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/parameter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;p.run&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/source&amp;gt;
&lt;br&gt;&lt;br&gt;This is not quite what I need because as I said above, I end up with
&lt;br&gt;three plots in one graph, but it is close - if I disable the legend it
&lt;br&gt;is actually quite usable. Note quite so nice is that the sweep has to be
&lt;br&gt;hard-coded in the input file.
&lt;br&gt;&lt;br&gt;Still, passing the run index through to output stage and there using it
&lt;br&gt;to separate elements looks like a better approach to me.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Patrick Ohly
&lt;br&gt;Senior Software Engineer
&lt;br&gt;&lt;br&gt;Intel GmbH
&lt;br&gt;Software &amp; Solutions Group &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Hermuelheimer Strasse 8a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Phone: +49-2232-2090-30
&lt;br&gt;50321 Bruehl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: +49-2232-2090-29
&lt;br&gt;Germany
&lt;br&gt;&lt;br&gt;Intel GmbH, Dornacher Strasse 1, 85622 Feldkirchen/Muenchen Germany
&lt;br&gt;Sitz der Gesellschaft: Feldkirchen bei Muenchen
&lt;br&gt;Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
&lt;br&gt;Registergericht: Muenchen HRB 47456
&lt;br&gt;Ust.- IdNr./VAT Registration No.: DE129385895
&lt;br&gt;Citibank Frankfurt (BLZ 502 109 00) 600119052
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[pb_run_index.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;*** /home/pohly/src/perfbase/bin/pb_query_classes.py	2007-03-15 08:37:45.680351000 +0100
&lt;br&gt;--- /Projects/software/perfbase/bin/pb_query_classes.py	2007-03-15 13:57:02.091697000 +0100
&lt;br&gt;***************
&lt;br&gt;*** 492,509 ****
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alias = mk_label(get_attribute(val_node, self.p_name, 'alias', self.p_name, None),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;all_nodes)
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlexe(crs, &amp;quot;SELECT * FROM exp_values WHERE name = %s AND NOT is_result&amp;quot;, None, (self.p_name, ))
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if crs.rowcount == 0:
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; raise SpecificationError, &amp;quot;&amp;lt;value&amp;gt; '%s' is not a parameter in the specified experiment&amp;quot; % self.p_name
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nim = build_name_idx_map(crs)
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; db_row = crs.fetchone()
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.val_type = get_value_type(db_row, nim)
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.is_constant = False
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if db_row[nim['only_once']] &amp;gt; 0:
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.is_constant = True
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p_unit = db_row[nim['data_unit']]
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if not p_unit:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p_unit = &amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; crs.close()
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.showstyle = get_attribute(node, self.p_name, 'style', 'full',
&lt;br&gt;--- 492,515 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alias = mk_label(get_attribute(val_node, self.p_name, 'alias', self.p_name, None),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;all_nodes)
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if self.p_name != &amp;quot;pb_run_index&amp;quot;:
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlexe(crs, &amp;quot;SELECT * FROM exp_values WHERE name = %s AND NOT is_result&amp;quot;, None, (self.p_name, ))
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if crs.rowcount == 0:
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; raise SpecificationError, &amp;quot;&amp;lt;value&amp;gt; '%s' is not a parameter in the specified experiment&amp;quot; % self.p_name
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nim = build_name_idx_map(crs)
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; db_row = crs.fetchone()
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.val_type = get_value_type(db_row, nim)
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.is_constant = False
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if db_row[nim['only_once']] &amp;gt; 0:
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.is_constant = True
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p_unit = db_row[nim['data_unit']]
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if not p_unit:
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p_unit = &amp;quot;&amp;quot;
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else:
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.val_type = &amp;quot;number&amp;quot;
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.is_constant = False
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p_unit = &amp;quot;&amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; db_row = ( &amp;quot;&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;integer&amp;quot;, &amp;quot;integer&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;run index&amp;quot; )
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; crs.close()
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.showstyle = get_attribute(node, self.p_name, 'style', 'full',
&lt;br&gt;***************
&lt;br&gt;*** 577,584 ****
&lt;br&gt;--- 583,593 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.sql_filter = self._parse_filter(sweep_filter, self.p_name, alias, p_unit)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.name += pb_sweep_suffix + str(idx)
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;+ 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # SQL name, output name, pb and sql data unit, physical unit, synopsis and filter
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.param_info = [self.p_name, alias, db_row[2], db_row[3], db_row[4], db_row[6], self.filter_str]
&lt;br&gt;+ 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print self.param_info
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9494156&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9494156&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/plotting-multiple-runs-as-graph-tp9471160p9494156.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9482042</id>
	<title>Re: plotting multiple runs as graph</title>
	<published>2007-03-14T13:50:46Z</published>
	<updated>2007-03-14T13:50:46Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Patrick Ohly schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have imported data from multiple runs and want to plot them in
&lt;br&gt;&amp;gt; &amp;quot;style=graphs&amp;quot;. The problem is that data from all runs is merged into
&lt;br&gt;&amp;gt; one source so that gnuplot draws a connecting line between unrelated
&lt;br&gt;&amp;gt; data.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My current query looks like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;parameter id=&amp;quot;p.time&amp;quot; show=&amp;quot;auto&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;parameter id=&amp;quot;p.host&amp;quot; show=&amp;quot;filter&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;parameter id=&amp;quot;p.peer&amp;quot; show=&amp;quot;filter&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;source id=&amp;quot;src.offset&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;result&amp;gt;time_offset&amp;lt;/result&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;p.time&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;p.host&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;p.peer&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/source&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;output target=&amp;quot;gnuplot&amp;quot; format=&amp;quot;screen&amp;quot; type=&amp;quot;graphs&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;input sweep_resolve=&amp;quot;extern&amp;quot;&amp;gt;src.offset&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;option&amp;gt;xdata time&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;option&amp;gt;timefmt &amp;quot;%H:%M:%S&amp;quot;&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;option&amp;gt;format x &amp;quot;%H:%M:%S&amp;quot;&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;filename unify=&amp;quot;filter&amp;quot;&amp;gt;figures/offsets&amp;lt;/filename&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/output&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there a way to separate the different runs in the graph? In gnuplot
&lt;br&gt;&amp;gt; itself this would be done by inserting a blank line in the data file,
&lt;br&gt;&amp;gt; but how can perfbase instructed (or patched, if necessary) to insert
&lt;br&gt;&amp;gt; that?
&lt;/div&gt;&lt;br&gt;This type of query (better: what you want it to do) does not align with 
&lt;br&gt;the design of perfbase conc. the &amp;lt;source&amp;gt; element: it does provide a 
&lt;br&gt;stream (&amp;quot;data vector&amp;quot;) which contains all parameter and result values 
&lt;br&gt;(and run indices) of the data sets that match the specified filtering on 
&lt;br&gt;the parameters. This means, it is a single stream of data, no gaps or 
&lt;br&gt;something between different runs. Only the embedded run indices show 
&lt;br&gt;which run each dataset comes from.
&lt;br&gt;&lt;br&gt;You want to have sort of a &amp;quot;sweep&amp;quot; across the run indices of all runs 
&lt;br&gt;that match your filters, like it is possible to do for any paramter. 
&lt;br&gt;This is not possible with the current version of perfbase. What is 
&lt;br&gt;needed to achieve this is some operator which creates N output data 
&lt;br&gt;vectors from one input data vector by filtering the run indices. This is 
&lt;br&gt;not trivial to achieve as the query object graph would have to change on 
&lt;br&gt;query runtime, while it is currently created once before the actual 
&lt;br&gt;query is performed.
&lt;br&gt;&lt;br&gt;As a workaround, you could to the following: create a parameter 
&lt;br&gt;(occurrence=&amp;quot;once&amp;quot;) to which you assign a unique id when importing the 
&lt;br&gt;data (i.e. the number of seconds date %s if you can ensure a big enough 
&lt;br&gt;gap between each import operation). You can then sweep across this 
&lt;br&gt;parameter and get one data vector per run.
&lt;br&gt;&lt;br&gt;&amp;gt; I experimented with
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;operator id=&amp;quot;op.ridx&amp;quot; type=&amp;quot;runindex&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;src.offset&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/operator&amp;gt;
&lt;br&gt;&amp;gt; and plotting that but ended up with a plot of the run index instead of
&lt;br&gt;&amp;gt; the offset...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Yes, the 'runindex' operator provides the runindex for each datapoint. 
&lt;br&gt;This is mostly used in combination with the 'param' operator, which 
&lt;br&gt;provides the value of a parameter for a runindex. See test/runindex for 
&lt;br&gt;an application of this. But this won't help with your problem.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9482042&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9482042&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/plotting-multiple-runs-as-graph-tp9471160p9482042.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9471160</id>
	<title>plotting multiple runs as graph</title>
	<published>2007-03-14T03:40:21Z</published>
	<updated>2007-03-14T03:40:21Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I have imported data from multiple runs and want to plot them in
&lt;br&gt;&amp;quot;style=graphs&amp;quot;. The problem is that data from all runs is merged into
&lt;br&gt;one source so that gnuplot draws a connecting line between unrelated
&lt;br&gt;data.
&lt;br&gt;&lt;br&gt;My current query looks like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;parameter id=&amp;quot;p.time&amp;quot; show=&amp;quot;auto&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;parameter id=&amp;quot;p.host&amp;quot; show=&amp;quot;filter&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;parameter id=&amp;quot;p.peer&amp;quot; show=&amp;quot;filter&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;source id=&amp;quot;src.offset&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;result&amp;gt;time_offset&amp;lt;/result&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;p.time&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;p.host&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;p.peer&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/source&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;output target=&amp;quot;gnuplot&amp;quot; format=&amp;quot;screen&amp;quot; type=&amp;quot;graphs&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input sweep_resolve=&amp;quot;extern&amp;quot;&amp;gt;src.offset&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;option&amp;gt;xdata time&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;option&amp;gt;timefmt &amp;quot;%H:%M:%S&amp;quot;&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;option&amp;gt;format x &amp;quot;%H:%M:%S&amp;quot;&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filename unify=&amp;quot;filter&amp;quot;&amp;gt;figures/offsets&amp;lt;/filename&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/output&amp;gt;
&lt;br&gt;&lt;br&gt;Is there a way to separate the different runs in the graph? In gnuplot
&lt;br&gt;itself this would be done by inserting a blank line in the data file,
&lt;br&gt;but how can perfbase instructed (or patched, if necessary) to insert
&lt;br&gt;that?
&lt;br&gt;&lt;br&gt;I experimented with
&lt;br&gt;&amp;nbsp; &amp;lt;operator id=&amp;quot;op.ridx&amp;quot; type=&amp;quot;runindex&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;input&amp;gt;src.offset&amp;lt;/input&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/operator&amp;gt;
&lt;br&gt;and plotting that but ended up with a plot of the run index instead of
&lt;br&gt;the offset...
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards, Patrick Ohly
&lt;br&gt;&lt;br&gt;The content of this message is my personal opinion only and although
&lt;br&gt;I am an employee of Intel, the statements I make here in no way
&lt;br&gt;represent Intel's position on the issue, nor am I authorized to speak
&lt;br&gt;on behalf of Intel on this matter.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9471160&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9471160&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/plotting-multiple-runs-as-graph-tp9471160p9471160.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9470803</id>
	<title>Re: 	 alternate sources for parameters (named_location/filename_location)</title>
	<published>2007-03-14T03:17:16Z</published>
	<updated>2007-03-14T03:17:16Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Patrick Ohly schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I want to parse two different input files, one where a parameter is
&lt;br&gt;&amp;gt; determined by lines inside the file (named_location), the other where it
&lt;br&gt;&amp;gt; is only available as part of the file name (filename_location).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What I find with --debug is that when it comes to storing the values of
&lt;br&gt;&amp;gt; a tabular_location, both the information from the filename and the line
&lt;br&gt;&amp;gt; seems to be available, but neither of them is used in the final dataset.
&lt;br&gt;&amp;gt; The debug output is something like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; #* storing dataset
&lt;br&gt;&amp;gt; #* dataset is &amp;nbsp;None None
&lt;br&gt;&amp;gt; #* dataset is &amp;nbsp;['peer'] {'peer': '&amp;lt;from file content&amp;gt;'}
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; #* dataset is &amp;nbsp;['peer'] {'peer': '&amp;lt;from file name&amp;gt;'}
&lt;br&gt;&amp;gt; #* dataset is &amp;nbsp;[...] {...}
&lt;br&gt;&amp;gt; Dataset 0 in run 3
&lt;br&gt;&amp;gt; {..., 'peer': None, ... }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is this the expected behavior? I'll go back to writing two input
&lt;br&gt;&amp;gt; specifications to avoid the situation, but I think a conflict resolution
&lt;br&gt;&amp;gt; where the &amp;quot;more recent&amp;quot; named_location overrides the &amp;quot;static/default&amp;quot;
&lt;br&gt;&amp;gt; filename_location parameter value would be useful. I might miss use
&lt;br&gt;&amp;gt; cases where that is not the case, though.
&lt;/div&gt;&lt;br&gt;Can you write a small testcase for this (experiment and input 
&lt;br&gt;description, input files)? This would make it much easier to analyze this.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9470803&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9470803&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/alternate-sources-for-parameters-%28named_location-filename_location%29-tp9470588p9470803.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9470727</id>
	<title>Re: set_separator/regexp</title>
	<published>2007-03-14T03:11:28Z</published>
	<updated>2007-03-14T03:11:28Z</updated>
	<author>
		<name>Joachim Worringen-4</name>
	</author>
	<content type="html">Patrick Ohly schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; it seems I have a tendency to try out new code paths ;-) The latest one
&lt;br&gt;&amp;gt; is:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;set_separation&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;regexp&amp;gt;.*(?:foo|bar).*&amp;lt;/regexp&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/set_separation&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; which leads to:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Traceback (most recent call last):
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_input.py&amp;quot;, line 4012, in ?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; main()
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_input.py&amp;quot;, line 3979, in main
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; parse_datafiles(data_filenames, parsers, exp_crs)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_input.py&amp;quot;, line 3537, in
&lt;br&gt;&amp;gt; parse_datafiles
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; action = pn.check_trigger(fname, l_idx)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_input.py&amp;quot;, line 2334, in
&lt;br&gt;&amp;gt; check_trigger
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if re.search(self.regexp):
&lt;br&gt;&amp;gt; TypeError: search() takes at least 2 arguments (1 given)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Patch attached... as usual, no warranties, but it works for me.
&lt;/div&gt;&lt;br&gt;Great, thanks. Yes, I thinnk I have never used set-separation with 
&lt;br&gt;regexps...
&lt;br&gt;&lt;br&gt;I will soon apply all your patches and test them with the test suite. 
&lt;br&gt;Don't worry, they &amp;nbsp;won't get lost.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Joachim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
&lt;br&gt;phone ++49/(0)228/324 08 17 - &lt;a href=&quot;http://www.dolphinics.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dolphinics.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9470727&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9470727&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/set_separator-regexp-tp9470412p9470727.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9470588</id>
	<title>alternate sources for parameters (named_location/filename_location)</title>
	<published>2007-03-14T02:57:59Z</published>
	<updated>2007-03-14T02:57:59Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I want to parse two different input files, one where a parameter is
&lt;br&gt;determined by lines inside the file (named_location), the other where it
&lt;br&gt;is only available as part of the file name (filename_location).
&lt;br&gt;&lt;br&gt;What I find with --debug is that when it comes to storing the values of
&lt;br&gt;a tabular_location, both the information from the filename and the line
&lt;br&gt;seems to be available, but neither of them is used in the final dataset.
&lt;br&gt;The debug output is something like this:
&lt;br&gt;&lt;br&gt;#* storing dataset
&lt;br&gt;#* dataset is &amp;nbsp;None None
&lt;br&gt;#* dataset is &amp;nbsp;['peer'] {'peer': '&amp;lt;from file content&amp;gt;'}
&lt;br&gt;...
&lt;br&gt;#* dataset is &amp;nbsp;['peer'] {'peer': '&amp;lt;from file name&amp;gt;'}
&lt;br&gt;#* dataset is &amp;nbsp;[...] {...}
&lt;br&gt;Dataset 0 in run 3
&lt;br&gt;{..., 'peer': None, ... }
&lt;br&gt;&lt;br&gt;Is this the expected behavior? I'll go back to writing two input
&lt;br&gt;specifications to avoid the situation, but I think a conflict resolution
&lt;br&gt;where the &amp;quot;more recent&amp;quot; named_location overrides the &amp;quot;static/default&amp;quot;
&lt;br&gt;filename_location parameter value would be useful. I might miss use
&lt;br&gt;cases where that is not the case, though.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Patrick Ohly
&lt;br&gt;Senior Software Engineer
&lt;br&gt;&lt;br&gt;Intel GmbH
&lt;br&gt;Software &amp; Solutions Group &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Hermuelheimer Strasse 8a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Phone: +49-2232-2090-30
&lt;br&gt;50321 Bruehl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: +49-2232-2090-29
&lt;br&gt;Germany
&lt;br&gt;&lt;br&gt;Intel GmbH, Dornacher Strasse 1, 85622 Feldkirchen/Muenchen Germany
&lt;br&gt;Sitz der Gesellschaft: Feldkirchen bei Muenchen
&lt;br&gt;Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
&lt;br&gt;Registergericht: Muenchen HRB 47456
&lt;br&gt;Ust.- IdNr./VAT Registration No.: DE129385895
&lt;br&gt;Citibank Frankfurt (BLZ 502 109 00) 600119052
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9470588&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9470588&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/alternate-sources-for-parameters-%28named_location-filename_location%29-tp9470588p9470588.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9470412</id>
	<title>set_separator/regexp</title>
	<published>2007-03-14T02:46:43Z</published>
	<updated>2007-03-14T02:46:43Z</updated>
	<author>
		<name>Patrick Ohly-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;it seems I have a tendency to try out new code paths ;-) The latest one
&lt;br&gt;is:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;set_separation&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;regexp&amp;gt;.*(?:foo|bar).*&amp;lt;/regexp&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/set_separation&amp;gt;
&lt;br&gt;&lt;br&gt;which leads to:
&lt;br&gt;&lt;br&gt;Traceback (most recent call last):
&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_input.py&amp;quot;, line 4012, in ?
&lt;br&gt;&amp;nbsp; &amp;nbsp; main()
&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_input.py&amp;quot;, line 3979, in main
&lt;br&gt;&amp;nbsp; &amp;nbsp; parse_datafiles(data_filenames, parsers, exp_crs)
&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_input.py&amp;quot;, line 3537, in
&lt;br&gt;parse_datafiles
&lt;br&gt;&amp;nbsp; &amp;nbsp; action = pn.check_trigger(fname, l_idx)
&lt;br&gt;&amp;nbsp; File &amp;quot;/Projects/software/perfbase/bin/pb_input.py&amp;quot;, line 2334, in
&lt;br&gt;check_trigger
&lt;br&gt;&amp;nbsp; &amp;nbsp; if re.search(self.regexp):
&lt;br&gt;TypeError: search() takes at least 2 arguments (1 given)
&lt;br&gt;&lt;br&gt;Patch attached... as usual, no warranties, but it works for me.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Patrick Ohly
&lt;br&gt;Senior Software Engineer
&lt;br&gt;&lt;br&gt;Intel GmbH
&lt;br&gt;Software &amp; Solutions Group &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Hermuelheimer Strasse 8a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Phone: +49-2232-2090-30
&lt;br&gt;50321 Bruehl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: +49-2232-2090-29
&lt;br&gt;Germany
&lt;br&gt;&lt;br&gt;Intel GmbH, Dornacher Strasse 1, 85622 Feldkirchen/Muenchen Germany
&lt;br&gt;Sitz der Gesellschaft: Feldkirchen bei Muenchen
&lt;br&gt;Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
&lt;br&gt;Registergericht: Muenchen HRB 47456
&lt;br&gt;Ust.- IdNr./VAT Registration No.: DE129385895
&lt;br&gt;Citibank Frankfurt (BLZ 502 109 00) 600119052
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[separator-regexp.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;*** /Projects/software/perfbase/bin/pb_input.py.orig	2007-03-14 09:25:44.532834000 +0100
&lt;br&gt;--- /Projects/software/perfbase/bin/pb_input.py	2007-03-14 09:29:27.921502000 +0100
&lt;br&gt;***************
&lt;br&gt;*** 2331,2337 ****
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if find(get_dataline(fname, idx), self.match) != -1:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rval = &amp;quot;parse&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else:
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if re.search(self.regexp):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rval = &amp;quot;parse&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if rval != &amp;quot;nothing&amp;quot;:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.trigger_cnt += 1
&lt;br&gt;--- 2331,2337 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if find(get_dataline(fname, idx), self.match) != -1:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rval = &amp;quot;parse&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else:
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if re.search(self.regexp, get_dataline(fname, idx)):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rval = &amp;quot;parse&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if rval != &amp;quot;nothing&amp;quot;:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.trigger_cnt += 1
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9470412&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9470412&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/perfbase---users-f9271.html&quot; embed=&quot;fixTarget[9271]&quot; target=&quot;_top&quot; &gt;perfbase - users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/set_separator-regexp-tp9470412p9470412.html" />
</entry>

</feed>
