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

Function main

libCacheSim/bin/debug/fileOp.cpp:47–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47int main() {
48 req_t req, req2;
49 req.clock_time = 123456789;
50 req.obj_id = 987654321;
51 req.obj_size = 123456789;
52 req.op = 1;
53 req.tenant = 2;
54 req.next_access_vtime = 987654321;
55
56 print_req(&req);
57 write_req("req.bin", &req);
58
59 read_req("req.bin", &req2);
60 print_req(&req2);
61
62 return 0;
63}

Callers

nothing calls this directly

Calls 3

print_reqFunction · 0.85
write_reqFunction · 0.85
read_reqFunction · 0.85

Tested by

no test coverage detected