-
Notifications
You must be signed in to change notification settings - Fork 179
/
execution_metrics.go
170 lines (135 loc) · 5.2 KB
/
execution_metrics.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mock
import (
flow "github.com/onflow/flow-go/model/flow"
mock "github.com/stretchr/testify/mock"
time "time"
)
// ExecutionMetrics is an autogenerated mock type for the ExecutionMetrics type
type ExecutionMetrics struct {
mock.Mock
}
// ChunkDataPackRequested provides a mock function with given fields:
func (_m *ExecutionMetrics) ChunkDataPackRequested() {
_m.Called()
}
// DiskSize provides a mock function with given fields: _a0
func (_m *ExecutionMetrics) DiskSize(_a0 uint64) {
_m.Called(_a0)
}
// ExecutionCollectionRequestRetried provides a mock function with given fields:
func (_m *ExecutionMetrics) ExecutionCollectionRequestRetried() {
_m.Called()
}
// ExecutionCollectionRequestSent provides a mock function with given fields:
func (_m *ExecutionMetrics) ExecutionCollectionRequestSent() {
_m.Called()
}
// ExecutionGasUsedPerBlock provides a mock function with given fields: gas
func (_m *ExecutionMetrics) ExecutionGasUsedPerBlock(gas uint64) {
_m.Called(gas)
}
// ExecutionLastExecutedBlockHeight provides a mock function with given fields: height
func (_m *ExecutionMetrics) ExecutionLastExecutedBlockHeight(height uint64) {
_m.Called(height)
}
// ExecutionStateReadsPerBlock provides a mock function with given fields: reads
func (_m *ExecutionMetrics) ExecutionStateReadsPerBlock(reads uint64) {
_m.Called(reads)
}
// ExecutionStorageStateCommitment provides a mock function with given fields: bytes
func (_m *ExecutionMetrics) ExecutionStorageStateCommitment(bytes int64) {
_m.Called(bytes)
}
// ExecutionSync provides a mock function with given fields: syncing
func (_m *ExecutionMetrics) ExecutionSync(syncing bool) {
_m.Called(syncing)
}
// ExecutionTotalExecutedTransactions provides a mock function with given fields: numExecuted
func (_m *ExecutionMetrics) ExecutionTotalExecutedTransactions(numExecuted int) {
_m.Called(numExecuted)
}
// FinishBlockReceivedToExecuted provides a mock function with given fields: blockID
func (_m *ExecutionMetrics) FinishBlockReceivedToExecuted(blockID flow.Identifier) {
_m.Called(blockID)
}
// ForestApproxMemorySize provides a mock function with given fields: bytes
func (_m *ExecutionMetrics) ForestApproxMemorySize(bytes uint64) {
_m.Called(bytes)
}
// ForestNumberOfTrees provides a mock function with given fields: number
func (_m *ExecutionMetrics) ForestNumberOfTrees(number uint64) {
_m.Called(number)
}
// LatestTrieMaxDepth provides a mock function with given fields: number
func (_m *ExecutionMetrics) LatestTrieMaxDepth(number uint64) {
_m.Called(number)
}
// LatestTrieMaxDepthDiff provides a mock function with given fields: number
func (_m *ExecutionMetrics) LatestTrieMaxDepthDiff(number uint64) {
_m.Called(number)
}
// LatestTrieRegCount provides a mock function with given fields: number
func (_m *ExecutionMetrics) LatestTrieRegCount(number uint64) {
_m.Called(number)
}
// LatestTrieRegCountDiff provides a mock function with given fields: number
func (_m *ExecutionMetrics) LatestTrieRegCountDiff(number uint64) {
_m.Called(number)
}
// ProofSize provides a mock function with given fields: bytes
func (_m *ExecutionMetrics) ProofSize(bytes uint32) {
_m.Called(bytes)
}
// ReadDuration provides a mock function with given fields: duration
func (_m *ExecutionMetrics) ReadDuration(duration time.Duration) {
_m.Called(duration)
}
// ReadDurationPerItem provides a mock function with given fields: duration
func (_m *ExecutionMetrics) ReadDurationPerItem(duration time.Duration) {
_m.Called(duration)
}
// ReadValuesNumber provides a mock function with given fields: number
func (_m *ExecutionMetrics) ReadValuesNumber(number uint64) {
_m.Called(number)
}
// ReadValuesSize provides a mock function with given fields: byte
func (_m *ExecutionMetrics) ReadValuesSize(byte uint64) {
_m.Called(byte)
}
// StartBlockReceivedToExecuted provides a mock function with given fields: blockID
func (_m *ExecutionMetrics) StartBlockReceivedToExecuted(blockID flow.Identifier) {
_m.Called(blockID)
}
// TransactionChecked provides a mock function with given fields: dur
func (_m *ExecutionMetrics) TransactionChecked(dur time.Duration) {
_m.Called(dur)
}
// TransactionInterpreted provides a mock function with given fields: dur
func (_m *ExecutionMetrics) TransactionInterpreted(dur time.Duration) {
_m.Called(dur)
}
// TransactionParsed provides a mock function with given fields: dur
func (_m *ExecutionMetrics) TransactionParsed(dur time.Duration) {
_m.Called(dur)
}
// UpdateCount provides a mock function with given fields:
func (_m *ExecutionMetrics) UpdateCount() {
_m.Called()
}
// UpdateDuration provides a mock function with given fields: duration
func (_m *ExecutionMetrics) UpdateDuration(duration time.Duration) {
_m.Called(duration)
}
// UpdateDurationPerItem provides a mock function with given fields: duration
func (_m *ExecutionMetrics) UpdateDurationPerItem(duration time.Duration) {
_m.Called(duration)
}
// UpdateValuesNumber provides a mock function with given fields: number
func (_m *ExecutionMetrics) UpdateValuesNumber(number uint64) {
_m.Called(number)
}
// UpdateValuesSize provides a mock function with given fields: byte
func (_m *ExecutionMetrics) UpdateValuesSize(byte uint64) {
_m.Called(byte)
}