aboutsummaryrefslogtreecommitdiff
path: root/include/tt_llcht.h
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2021-07-03 16:17:27 -0400
committertslil <tslil@posteo.de>2021-07-03 16:17:27 -0400
commit95087d62cf581c4348f4e63725c65bf72ff94e6c (patch)
tree452fc5adce15dadc6a703d93dd8894e473ca3060 /include/tt_llcht.h
parent7dcfb56270e2f196f7f66672c8eea1f2df26310f (diff)
experimenting with a lazy queue implementationlazy_queue
presently it's not correct
Diffstat (limited to 'include/tt_llcht.h')
-rw-r--r--include/tt_llcht.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/tt_llcht.h b/include/tt_llcht.h
index 377de10..c1151a0 100644
--- a/include/tt_llcht.h
+++ b/include/tt_llcht.h
@@ -35,7 +35,8 @@ typedef struct tt_node_s {
enum TT_FLAG flag;
uint8_t depth;
float value;
- action_t action;
+ action_t best;
+ // action_lq_t *lq;
} tt_entry_t;
// ===================================================================
@@ -55,6 +56,6 @@ tt_entry_t *tt_seek(const uint64_t key);
int tt_insert(const uint64_t key, const enum TT_FLAG flag,
const uint8_t depth, const float value,
- const action_t action);
+ const action_t best);
#endif