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

Function print_req

libCacheSim/bin/debug/fileOp.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void print_req(req_t *req) {
39 std::cout << "clock_time: " << req->clock_time << std::endl;
40 std::cout << "obj_id: " << req->obj_id << std::endl;
41 std::cout << "obj_size: " << req->obj_size << std::endl;
42 std::cout << "op: " << (int)(req->op) << std::endl;
43 std::cout << "tenant: " << req->tenant << std::endl;
44 std::cout << "next_access_vtime: " << req->next_access_vtime << std::endl;
45}
46
47int main() {
48 req_t req, req2;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected