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

Function print_request

libCacheSim/include/libCacheSim/request.h:117–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115static inline void free_request(request_t *req) { my_free(request_t, req); }
116
117static inline void print_request(const request_t *req) {
118#ifdef SUPPORT_TTL
119 LOGGING(DEBUG_LEVEL, "req clock_time %lu, id %llu, size %ld, ttl %ld, op %s, valid %d\n",
120 (unsigned long)req->clock_time, (unsigned long long)req->obj_id, (long)req->obj_size, (long)req->ttl,
121 req_op_str[req->op], req->valid);
122#else
123 LOGGING(DEBUG_LEVEL, "req clock_time %lu, id %llu, size %ld, op %s, valid %d\n", (unsigned long)req->clock_time,
124 (unsigned long long)req->obj_id, (long)req->obj_size, req_op_str[req->op], req->valid);
125#endif
126}
127
128#ifdef __cplusplus
129}

Callers 3

mainFunction · 0.85
print_head_requestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected