// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

// Code generated by "deep-copy -type CPUSpec -type MemorySpec -header-file ../../../../hack/boilerplate.txt -o deep_copy.generated.go ."; DO NOT EDIT.

package perf

// DeepCopy generates a deep copy of CPUSpec.
func (o CPUSpec) DeepCopy() CPUSpec {
	var cp CPUSpec = o
	if o.CPU != nil {
		cp.CPU = make([]CPUStat, len(o.CPU))
		copy(cp.CPU, o.CPU)
	}
	return cp
}

// DeepCopy generates a deep copy of MemorySpec.
func (o MemorySpec) DeepCopy() MemorySpec {
	var cp MemorySpec = o
	return cp
}
