From a97f4ebf9f2b976e78282928704d6d39768b8362 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 30 Jul 2017 14:15:15 -0400 Subject: Add tile create and access timestamps --- torus.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'torus.h') diff --git a/torus.h b/torus.h index bb012f2..968c9f6 100644 --- a/torus.h +++ b/torus.h @@ -2,6 +2,7 @@ #include #include #include +#include #define ALIGNED(x) __attribute__((aligned(x))) @@ -25,7 +26,8 @@ enum { #define CELL_INIT_Y (CELL_ROWS / 2) struct Tile { - bool present; + time_t create; + time_t access; char cells[CELL_ROWS][CELL_COLS] ALIGNED(16); uint8_t colors[CELL_ROWS][CELL_COLS] ALIGNED(16); } ALIGNED(4096); -- cgit 1.4.1