From 9595969f2e916e800ec029623305920e11ef182b Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 2 Aug 2017 00:55:52 -0400 Subject: Split tile access and modify --- torus.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'torus.h') diff --git a/torus.h b/torus.h index 9158ef7..6b28f8c 100644 --- a/torus.h +++ b/torus.h @@ -27,10 +27,12 @@ enum { struct Tile { time_t create; - time_t access; + time_t modify; char cells[CELL_ROWS][CELL_COLS] ALIGNED(16); uint8_t colors[CELL_ROWS][CELL_COLS] ALIGNED(16); + uint32_t modifyCount; uint32_t accessCount; + time_t access; } ALIGNED(4096); static_assert(sizeof(struct Tile) == 4096, "struct Tile is page-sized"); static_assert(offsetof(struct Tile, cells) == 16, "stable cells offset"); -- cgit 1.4.1