summaryrefslogtreecommitdiff
path: root/scripts/media-bench.pl
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2017-05-17 13:10:18 +0100
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2017-05-17 13:10:18 +0100
commit635d2d04b008324f6499951575d5ef9d9b2f1f38 (patch)
tree70d3728edb791084539379bff836d5d184284eef /scripts/media-bench.pl
parent77d953aa25ad6b0ba01489283cfa58ee86a2da03 (diff)
media-bench: Simplify combined scoring
I am failing to come up with a smart formula which would have a little bit of an exponential component and take into consideration both total thtoughput and single client performance. Simply adding the two scores together might work better than any complications. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'scripts/media-bench.pl')
-rwxr-xr-xscripts/media-bench.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/media-bench.pl b/scripts/media-bench.pl
index ea0e0ed8..a5a5b84e 100755
--- a/scripts/media-bench.pl
+++ b/scripts/media-bench.pl
@@ -383,7 +383,7 @@ foreach my $wrk (@workloads) {
if ($realtime_target > 0 || $wps_target > 0) {
$mwps{$bid} = $w * $c;
} else {
- $mwps{$bid} = $w * $w / $s + $s;
+ $mwps{$bid} = $w + $s;
}
say "$c clients ($w wps, $s wps single client, score=$mwps{$bid}).";