src/internal/trace/traceviewer/fakep.go
raw| 1 | // Copyright 2014 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package traceviewer |
| 6 | |
| 7 | const ( |
| 8 | // Special P identifiers: |
| 9 | FakeP = 1000000 + iota |
| 10 | TimerP // depicts timer unblocks |
| 11 | NetpollP // depicts network unblocks |
| 12 | SyscallP // depicts returns from syscalls |
| 13 | GCP // depicts GC state |
| 14 | ProfileP // depicts recording of CPU profile samples |
| 15 | ) |