| |
| |
| |
|
|
| |
| |
| |
|
|
| package runtime |
|
|
| import "unsafe" |
|
|
| |
| |
| var AtomicFields = []uintptr{ |
| unsafe.Offsetof(m{}.procid), |
| unsafe.Offsetof(profBuf{}.overflow), |
| unsafe.Offsetof(profBuf{}.overflowTime), |
| unsafe.Offsetof(heapStatsDelta{}.tinyAllocCount), |
| unsafe.Offsetof(heapStatsDelta{}.smallAllocCount), |
| unsafe.Offsetof(heapStatsDelta{}.smallFreeCount), |
| unsafe.Offsetof(heapStatsDelta{}.largeAlloc), |
| unsafe.Offsetof(heapStatsDelta{}.largeAllocCount), |
| unsafe.Offsetof(heapStatsDelta{}.largeFree), |
| unsafe.Offsetof(heapStatsDelta{}.largeFreeCount), |
| unsafe.Offsetof(heapStatsDelta{}.committed), |
| unsafe.Offsetof(heapStatsDelta{}.released), |
| unsafe.Offsetof(heapStatsDelta{}.inHeap), |
| unsafe.Offsetof(heapStatsDelta{}.inStacks), |
| unsafe.Offsetof(heapStatsDelta{}.inWorkBufs), |
| unsafe.Offsetof(lfnode{}.next), |
| unsafe.Offsetof(mstats{}.last_gc_nanotime), |
| unsafe.Offsetof(mstats{}.last_gc_unix), |
| unsafe.Offsetof(workType{}.bytesMarked), |
| } |
|
|
| |
| |
| var AtomicVariables = []unsafe.Pointer{ |
| unsafe.Pointer(&ncgocall), |
| unsafe.Pointer(&test_z64), |
| unsafe.Pointer(&blockprofilerate), |
| unsafe.Pointer(&mutexprofilerate), |
| unsafe.Pointer(&gcController), |
| unsafe.Pointer(&memstats), |
| unsafe.Pointer(&sched), |
| unsafe.Pointer(&ticks), |
| unsafe.Pointer(&work), |
| } |
|
|