[−][src]Module radvisor::collection::collect::read
Structs
StatFileLayout | Used to store the results of an initial examination of the layout of a
|
StatFileLine | Represents metadata about a single stat file line that corresponds to an entry in the log output. |
Functions
entry | Tries to read the given file handle, and directly write the contents as a field to the record |
io | Tries to read an IO file and creates aggregate stats for read, write, sync, and async. The original files are in the form of: |
simple_io | Tries to read a simple IO file and aggregates to make a total. The original files are in the form of: |
stat_file | Parses every entry in a stats file, where each entry is a alphabetic key followed by a number, and then a newline. Attempts to parse offsets.len() entries from the file, using the precomputed offsets array to skip reading the alphabetic key. |
with_layout | Reads and parses a stat file, using a pre-examined layout to quickly read the desired entries from the file. |