File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,12 @@ type Provider struct {
156156 refreshed uint64 // number of articles refreshed
157157 verified uint64 // number of articles verified
158158 }
159+ // speed tracking (updated by Speedmeter every PrintStats seconds)
160+ speed struct {
161+ downloadSpeed float64 // bytes/sec (download)
162+ uploadSpeed float64 // bytes/sec (upload)
163+ lastUpdated int64 // unix timestamp of last update
164+ }
159165} // end Provider struct
160166
161167type segmentChanItem struct {
@@ -204,6 +210,7 @@ type segmentChanItem struct {
204210 flaginYenc bool // if true, item is in writing to yenc cache
205211 flagisYenc bool // if true, item has been written to yenc cache
206212 flagCache bool // if true, item is cached
213+ memlocked int // counts up if item is memlocked
207214 checkedOn int // counts up if item has been checked on a provider
208215 pushedDL int // a counter for debugging
209216 pushedUP int // a counter for debugging
You can’t perform that action at this time.
0 commit comments