blob: 387b5aa20131b095f77f7c799e0a6d84a9093ed4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// automatically generated by stateify.
// +build go1.9
// +build !go1.18
package tcpip
import (
"gvisor.dev/gvisor/pkg/state"
)
func (s *StdClock) StateTypeName() string {
return "pkg/tcpip.StdClock"
}
func (s *StdClock) StateFields() []string {
return []string{}
}
func (s *StdClock) beforeSave() {}
// +checklocksignore
func (s *StdClock) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
}
func (s *StdClock) afterLoad() {}
// +checklocksignore
func (s *StdClock) StateLoad(stateSourceObject state.Source) {
}
func init() {
state.Register((*StdClock)(nil))
}
|