Hi,
On Mon, 16 Oct 2006, Jason Zebchuk wrote:
> Hey guys,
>
> Do you have any documentation on stat-manager format templates over and above
> what's available from using the help command?
>
> Specifically, I'm trying to do something like
> <EXPR:<SUM:regexp1>/<SUM:regexp2>>
The syntax is <EXPR:sum{regex1}/sum{regex2}>
Unfortunately, there is no complete reference (other than trying to figure
it out from the code, which is quite painful). Many things were added
incrementally over time, and we were not diligent about documenting them.
Regards,
-Tom Wenisch
Computer Architecture Lab
Carnegie Mellon University
From twenisch at ece.cmu.edu Mon Oct 16 16:37:07 2006
From: twenisch at ece.cmu.edu (Thomas Wenisch)
List-Post: [email protected]
Date: Mon Oct 16 16:37:12 2006
Subject: [Simflex] stat-manager syntax
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
Message-ID: <[email protected]>
On Mon, 16 Oct 2006, Jason Zebchuk wrote:
> Another related question:
>
> If I have a Stat::InstanceCounter variable, how can I print out just the
> average value?
The syntax for this is:
stat-manager format-string "{InstanceCounterName;avg}"
You can also extract "count" "buckets" "weight" and the value of a
specific bucket with "val:n" where n is the desired value.
Regards,
-Tom Wenisch
>
>
> Thanks,
>
> Jason
>
>
>
> Jason Zebchuk wrote:
>
>> Hey guys,
>>
>> Do you have any documentation on stat-manager format templates over and
>> above what's available from using the help command?
>>
>> Specifically, I'm trying to do something like
>> <EXPR:<SUM:regexp1>/<SUM:regexp2>>
>> Is that possible? Do you think it would be hard to add if it's not already
>> present?
>>
>>
>> Thanks,
>>
>> Jason
>> _______________________________________________
>> SimFlex mailing list
>> [email protected]
>> https://sos.ece.cmu.edu/mailman/listinfo/simflex
>> SimFlex web page: http://www.ece.cmu.edu/~simflex
>
>
> _______________________________________________
> SimFlex mailing list
> [email protected]
> https://sos.ece.cmu.edu/mailman/listinfo/simflex
> SimFlex web page: http://www.ece.cmu.edu/~simflex
>
From zebchuk at eecg.toronto.edu Mon Oct 16 16:54:44 2006
From: zebchuk at eecg.toronto.edu (Jason Zebchuk)
List-Post: [email protected]
Date: Mon Oct 16 16:55:01 2006
Subject: [Simflex] stat-manager syntax
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
Message-ID: <[email protected]>
Tom,
Thanks for the help.
I tried your suggestion, and it didn't work. I looked at the code,
found were it checks for "avg" and there is indeed no such option.
There is however an intriguing option called "mlp" which seems very
close to the average, except it doesn't count items with a value of 0.
Does "avg" exist in some other version of the code? I looked at the
latest public release.
Thanks,
Jason
Thomas Wenisch wrote:
>
>
> On Mon, 16 Oct 2006, Jason Zebchuk wrote:
>
>> Another related question:
>>
>> If I have a Stat::InstanceCounter variable, how can I print out just
>> the average value?
>
>
> The syntax for this is:
>
> stat-manager format-string "{InstanceCounterName;avg}"
>
> You can also extract "count" "buckets" "weight" and the value of a
> specific bucket with "val:n" where n is the desired value.
>
> Regards,
> -Tom Wenisch
>
>>
>>
>> Thanks,
>>
>> Jason
>>
>>
>>
>> Jason Zebchuk wrote:
>>
>>> Hey guys,
>>>
>>> Do you have any documentation on stat-manager format templates over
>>> and above what's available from using the help command?
>>>
>>> Specifically, I'm trying to do something like
>>> <EXPR:<SUM:regexp1>/<SUM:regexp2>>
>>> Is that possible? Do you think it would be hard to add if it's not
>>> already present?
>>>
>>>
>>> Thanks,
>>>
>>> Jason
>>> _______________________________________________
>>> SimFlex mailing list
>>> [email protected]
>>> https://sos.ece.cmu.edu/mailman/listinfo/simflex
>>> SimFlex web page: http://www.ece.cmu.edu/~simflex
>>
>>
>>
>> _______________________________________________
>> SimFlex mailing list
>> [email protected]
>> https://sos.ece.cmu.edu/mailman/listinfo/simflex
>> SimFlex web page: http://www.ece.cmu.edu/~simflex
>>
> _______________________________________________
> SimFlex mailing list
> [email protected]
> https://sos.ece.cmu.edu/mailman/listinfo/simflex
> SimFlex web page: http://www.ece.cmu.edu/~simflex