Changeset 3f8baf4 for benchmark/readyQ/locality.go
- Timestamp:
- Dec 21, 2020, 6:00:05 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- fe97de26
- Parents:
- 7efb322
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/readyQ/locality.go
r7efb322 r3f8baf4 75 75 // May exchanges data 76 76 type Spot struct { 77 _p1 [16]uint64 // padding 77 78 ptr uintptr // atomic variable use fo MES 78 79 id int // id for debugging 79 _p [16]uint64 // padding80 _p2 [16]uint64 // padding 80 81 } 81 82 … … 244 245 channels := make([]Spot, nthreads - nprocs) // Number of spots 245 246 for i := range channels { 246 channels[i] = Spot{ uintptr(0), i,[16]uint64{0}} // init spots247 channels[i] = Spot{[16]uint64{0},uintptr(0), i,[16]uint64{0}} // init spots 247 248 } 248 249
Note: See TracChangeset
for help on using the changeset viewer.