ReadFBClockDataRealtime reads the realtime anchor section. Used in tests only.
(shmp unsafe.Pointer)
| 277 | |
| 278 | // ReadFBClockDataRealtime reads the realtime anchor section. Used in tests only. |
| 279 | func ReadFBClockDataRealtime(shmp unsafe.Pointer) (*DataV2, error) { |
| 280 | base := (*[shmDataV2Size]byte)(shmp)[:] |
| 281 | buf, err := loadSeqlockSection(base, shmV2RealtimeSeqOff, shmV2SectionDataLen) |
| 282 | if err != nil { |
| 283 | return nil, err |
| 284 | } |
| 285 | return readClockDataV2(buf), nil |
| 286 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…