faultspaceplot: plot burst faults correctly
+ remove "old matplotlib" warning Change-Id: I47dec1cc6bf6dd86216cd6d373174d4c70556f63
This commit is contained in:
@ -17,7 +17,7 @@ echo "getting faultspace data.."
|
||||
$MYSQL <<EOT > "$VARIANT"_"$BENCHMARK"-raw.csv
|
||||
SELECT t.time1 - (SELECT MIN(t2.time1) FROM trace t2 WHERE t.variant_id = t2.variant_id) AS time1,
|
||||
t.time2 - (SELECT MIN(t2.time1) FROM trace t2 WHERE t.variant_id = t2.variant_id) AS time2,
|
||||
t.data_address, r.bitoffset, 1,
|
||||
t.data_address, r.bitoffset, r.injection_width,
|
||||
CASE
|
||||
WHEN r.resulttype = 'OK_MARKER' THEN '#FFFFFF'
|
||||
WHEN r.resulttype = 'FAIL_MARKER' THEN '#EE0000'
|
||||
|
||||
@ -45,8 +45,6 @@ if sys.argv[1] == '-h':
|
||||
print "plot (not implemented yet)." # TODO: be more precise here
|
||||
exit(0)
|
||||
|
||||
print "WARNING: This script needs a newer version of Matplotlib for axis label rotation; run this on Ubuntu 12.10 or alike."
|
||||
|
||||
print "Opening and processing \"" + sys.argv[1] + "\"..."
|
||||
file = open(sys.argv[1], "r")
|
||||
dialect = csv.Sniffer().sniff(file.read(1024))
|
||||
|
||||
Reference in New Issue
Block a user