expand artifacts a bit more, to be more useful with larger-than-ptr but not huge allocations

This commit is contained in:
Ryan Fleury
2025-09-23 11:27:56 -07:00
parent 9787c698e6
commit 6cdce22284
8 changed files with 70 additions and 35 deletions
+17 -2
View File
@@ -7460,6 +7460,21 @@ ASYNC_WORK_DEF(ctrl_call_stack_tree_build_work)
return 0;
}
////////////////////////////////
//~ rjf: Process Memory Artifact Cache Hooks / Lookups
internal void *
ctrl_memory_artifact_create(String8 key, B32 *retry_out)
{
}
internal void
ctrl_memory_artifact_destroy(void *ptr)
{
}
////////////////////////////////
//~ rjf: Asynchronous Tick
@@ -7467,7 +7482,7 @@ internal void
ctrl_async_tick(void)
{
Temp scratch = scratch_begin(0, 0);
#if 0
//- rjf: get all memory requests
U64 mem_reqs_count = 0;
CTRL_MemRequest *mem_reqs = 0;
@@ -7642,6 +7657,6 @@ ctrl_async_tick(void)
}
}
}
#endif
scratch_end(scratch);
}