Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct X {
- int x; /* 0 4 */
- /* XXX 4 bytes hole, try to pack */
- double * p; /* 8 8 */
- /* size: 16, cachelines: 1, members: 2 */
- /* sum members: 12, holes: 1, sum holes: 4 */
- /* last cacheline: 16 bytes */
- };
- struct Y {
- double * p; /* 0 8 */
- int x; /* 8 4 */
- /* size: 16, cachelines: 1, members: 2 */
- /* padding: 4 */
- /* last cacheline: 16 bytes */
- };
Advertisement
Add Comment
Please, Sign In to add comment