github.com/filecoin-project/specs-actors/v4@v4.0.2/support/vm/stats.go (about) 1 package vm_test 2 3 import ( 4 vm2 "github.com/filecoin-project/specs-actors/v2/support/vm" 5 ) 6 7 // type StatsSource interface { 8 // WriteCount() uint64 9 // ReadCount() uint64 10 // WriteSize() uint64 11 // ReadSize() uint64 12 // } 13 type StatsSource = vm2.StatsSource 14 15 // type StatsByCall map[MethodKey]*CallStats 16 type StatsByCall = vm2.StatsByCall 17 18 // type MethodKey struct { 19 // Code cid.Cid 20 // Method abi.MethodNum 21 // } 22 type MethodKey = vm2.MethodKey 23 24 // type CallStats struct { 25 // Reads uint64 26 // Writes uint64 27 // ReadBytes uint64 28 // WriteBytes uint64 29 // Calls uint64 30 // statsSource StatsSource 31 // SubStats StatsByCall 32 33 // startReads uint64 34 // startWrites uint64 35 // startReadBytes uint64 36 // startWriteBytes uint64 37 // } 38 type CallStats = vm2.CallStats