Fix ratio
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
78ee64d9f8
commit
01e230e810
@ -276,7 +276,7 @@ func tallyGasCharges(charges map[string]*stats, et types.ExecutionTrace) {
|
|||||||
charges[gc.Name] = s
|
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))
|
//fmt.Printf("%s: %d, %s: %0.2f\n", gc.Name, compGas, gc.TimeTaken, 1/(ratio/GasPerNs))
|
||||||
}
|
}
|
||||||
for _, sub := range et.Subcalls {
|
for _, sub := range et.Subcalls {
|
||||||
|
Loading…
Reference in New Issue
Block a user