| 31 | } |
| 32 | |
| 33 | void read_req(const char *file_path, req_t *req) { |
| 34 | std::ifstream file(file_path, std::ios::in | std::ios::binary); |
| 35 | file.read(reinterpret_cast<char *>(req), sizeof(req_t)); |
| 36 | } |
| 37 | |
| 38 | void print_req(req_t *req) { |
| 39 | std::cout << "clock_time: " << req->clock_time << std::endl; |