Sha256: 305749c379eb0b6512a569e5f8766783db10963c9e3b24dd824aaa0776f9e6df
Contents?: true
Size: 720 Bytes
Versions: 18
Compression:
Stored size: 720 Bytes
Contents
package subsystem import ( "time" ) /* PerfMonger binary format: 1. Common header * platform type tag * host info * timestamp * ... 2. Platform-dependent header * List of devices * List of NICs * List of IRQs * CPU topology * ... 3. Record section * Platform-dependent record data stream */ // // Common header // const ( Linux = 1 Darwin = 2 ) type PlatformType int type CommonHeader struct { Platform PlatformType Hostname string StartTime time.Time } // // Platform-dependent header // type LinuxDevice struct { Name string Parts []string } type LinuxHeader struct { Devices map[string]LinuxDevice DevsParts []string } type DarwinHeader struct { DevsParts []string }
Version data entries
18 entries across 18 versions & 1 rubygems