(v []uint64)
| 66 | } |
| 67 | |
| 68 | func parseReadAheadCache(v []uint64) (ReadAheadCache, error) { |
| 69 | if len(v) != 12 { |
| 70 | return ReadAheadCache{}, fmt.Errorf("invalid ReadAheadCache line %v", v) |
| 71 | } |
| 72 | |
| 73 | return ReadAheadCache{ |
| 74 | CacheSize: v[0], |
| 75 | CacheHistogram: v[1:11], |
| 76 | NotFound: v[11], |
| 77 | }, nil |
| 78 | } |
| 79 | |
| 80 | func parseNetwork(v []uint64) (Network, error) { |
| 81 | if len(v) != 4 { |
no outgoing calls
no test coverage detected
searching dependent graphs…