MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / _graphNode_destroy

Function _graphNode_destroy

libCacheSim/cache/prefetch/PG.c:240–245  ·  view source on GitHub ↗

PG help function ********************/

Source from the content-addressed store, hash-verified

238
239/******************** PG help function ********************/
240static inline void _graphNode_destroy(gpointer data) {
241 graphNode_t *graphNode = (graphNode_t *)data;
242 g_hash_table_destroy(graphNode->graph);
243 pqueue_free(graphNode->pq);
244 g_free(graphNode);
245}
246
247/**
248 1. insert the `req->obj_id` to the past_request_pointer.

Callers

nothing calls this directly

Calls 1

pqueue_freeFunction · 0.85

Tested by

no test coverage detected