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

Function read_trace

libCacheSim/include/libCacheSim/reader.h:236–236  ·  view source on GitHub ↗

* read one request from reader/trace, stored the info in pre-allocated req * @param reader * @param req * return 0 on success and 1 if reach end of trace */

Source from the content-addressed store, hash-verified

234 * return 0 on success and 1 if reach end of trace
235 */
236static inline int read_trace(reader_t *const reader, request_t *const req) { return read_one_req(reader, req); }
237
238/**
239 * reset reader, so we can read from the beginning

Callers 1

simulateFunction · 0.85

Calls 1

read_one_reqFunction · 0.85

Tested by

no test coverage detected