Skip to content

Commit 3d923cd

Browse files
committed
Remove obj id type in fast23
1 parent 749c194 commit 3d923cd

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

libCacheSim/bin/customized/fast23/compareGrouping.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ void compareGrouping::cal_group_metric_utility(string trace_path,
323323
vector<int> &group_sizes,
324324
int n_repeat, int n_thread) {
325325
reader_t *reader =
326-
open_trace(trace_path.c_str(), ORACLE_GENERAL_BIN, OBJ_ID_NUM, nullptr);
326+
open_trace(trace_path.c_str(), ORACLE_GENERAL_BIN, nullptr);
327327
request_t *req = new_request();
328328
int64_t n_total_req = get_num_of_req(reader);
329329
int64_t n_skip = n_total_req / 10;

libCacheSim/bin/customized/fast23/compareGroups.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void compareGroups::cal_group_metric_utility_over_time(string trace_path,
5656
string ofilepath,
5757
int group_size) {
5858
reader_t *reader =
59-
open_trace(trace_path.c_str(), ORACLE_GENERAL_BIN, OBJ_ID_NUM, nullptr);
59+
open_trace(trace_path.c_str(), ORACLE_GENERAL_BIN, nullptr);
6060
request_t *req = new_request();
6161
int64_t n_skip = 0;
6262
int64_t n_req = n_skip;

libCacheSim/bin/customized/fast23/objectInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct map_val {
3838
std::vector<fast23::obj_reuse_stat> objectInfo::compute_obj_reuse_stat(
3939
std::string trace_path) {
4040
reader_t *reader =
41-
open_trace(trace_path.c_str(), ORACLE_GENERAL_BIN, OBJ_ID_NUM, nullptr);
41+
open_trace(trace_path.c_str(), ORACLE_GENERAL_BIN, nullptr);
4242
request_t *req = new_request();
4343
int64_t n_req = 0;
4444
unordered_map<uint64_t, shared_ptr<struct map_val>> objmap;
@@ -93,7 +93,7 @@ int64_t objectInfo::convert_trace_to_requests(
9393
std::string trace_path, fast23::request_info *request_info,
9494
int64_t request_info_size, int64_t n_skip) {
9595
reader_t *reader =
96-
open_trace(trace_path.c_str(), ORACLE_GENERAL_BIN, OBJ_ID_NUM, nullptr);
96+
open_trace(trace_path.c_str(), ORACLE_GENERAL_BIN, nullptr);
9797
request_t *req = new_request();
9898
int64_t n_req = n_skip;
9999

0 commit comments

Comments
 (0)