package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Apr 8, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Stats provide a way to track statistics infos
AddBytes increase the nbBytes counter
Bandwidth returns the IO speed in MB/s
Bytes returns the stored number of bytes
Duration returns the 'stop - start' duration, if stopped
Returns 0 if not started
Returns time.Since(s.timeStart) if not stopped
Pause stores an interruption timestamp
Start stores the "start" timestamp
Stop stores the "stop" timestamp
Source Files
¶
Click to show internal directories.
Click to hide internal directories.