Fix ratio

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-06-27 01:25:02 +02:00
parent 78ee64d9f8
commit 01e230e810
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -276,7 +276,7 @@ func tallyGasCharges(charges map[string]*stats, et types.ExecutionTrace) {
charges[gc.Name] = s
}
s.AddPoint(ratio)
s.AddPoint(1 / ratio)
//fmt.Printf("%s: %d, %s: %0.2f\n", gc.Name, compGas, gc.TimeTaken, 1/(ratio/GasPerNs))
}
for _, sub := range et.Subcalls {