summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/usage/cpu.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/usage/cpu.go')
-rw-r--r--pkg/sentry/usage/cpu.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/usage/cpu.go b/pkg/sentry/usage/cpu.go
index 1c2cc90e1..ed7b04b9e 100644
--- a/pkg/sentry/usage/cpu.go
+++ b/pkg/sentry/usage/cpu.go
@@ -20,6 +20,8 @@ import (
// CPUStats contains the subset of struct rusage fields that relate to CPU
// scheduling.
+//
+// +stateify savable
type CPUStats struct {
// UserTime is the amount of time spent executing application code.
UserTime time.Duration