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

Version Path
perfmonger-0.14.4 core/subsystem/perfmonger.go
perfmonger-0.14.2 core/subsystem/perfmonger.go
perfmonger-0.14.1 core/subsystem/perfmonger.go
perfmonger-0.14.0 core/subsystem/perfmonger.go
perfmonger-0.13.1 core/subsystem/perfmonger.go
perfmonger-0.12.1 core/subsystem/perfmonger.go
perfmonger-0.12.0 core/subsystem/perfmonger.go
perfmonger-0.11.2 core/subsystem/perfmonger.go
perfmonger-0.11.1 core/subsystem/perfmonger.go
perfmonger-0.11.0 core/subsystem/perfmonger.go
perfmonger-0.10.2 core/subsystem/perfmonger.go
perfmonger-0.10.1 core/subsystem/perfmonger.go
perfmonger-0.9.0 core/subsystem/perfmonger.go
perfmonger-0.8.2 core/subsystem/perfmonger.go
perfmonger-0.8.1 core/subsystem/perfmonger.go
perfmonger-0.8.0 core/subsystem/perfmonger.go
perfmonger-0.7.1 core/subsystem/perfmonger.go
perfmonger-0.7.0 core/subsystem/perfmonger.go