Update traceweight query
This commit is contained in:
@@ -16,8 +16,17 @@ sub query {
|
||||
my $extra =
|
||||
Filters::build_filter_clause( $experiment_dir, @filter_config_names );
|
||||
|
||||
# This query basically asks: How much faultspace area
|
||||
# ended up in each possible outcome?
|
||||
# The "SUM(t.time2 - t.time1 + 1)" part combined with the
|
||||
# "JOIN result_GenericExperimentMessage" part repeats each
|
||||
# equivalence class for each injection, so the faultspace area
|
||||
# is "equivalence interval" in ticks (t.time2 - t.time1 + 1) times
|
||||
# the number of injected bits.
|
||||
# For a single byte pilot (e.g., uint8 variable), the faultspace area
|
||||
# would be inflated by x8 (8 possible bits to inject).
|
||||
my $querystring = "SELECT
|
||||
benchmark, resulttype, sum(t.time2 - t.time1 + 1) AS faults
|
||||
benchmark, resulttype, SUM(t.time2 - t.time1 + 1) AS faults
|
||||
FROM variant v
|
||||
JOIN trace t ON v.id = t.variant_id
|
||||
JOIN fspgroup g ON g.variant_id = t.variant_id AND g.instr2 = t.instr2 AND g.data_physical_address = t.data_physical_address
|
||||
|
||||
Reference in New Issue
Block a user