Skip to content

Commit

Permalink
update simple cmd parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
qyliu-hkust committed Aug 20, 2024
1 parent a8c24b6 commit ef5160a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ auto bench_pgm(const std::vector<uint64_t>& data, const std::vector<uint64_t>& q


int main(int argc, const char * argv[]) {
const std::string fname = "/Users/liuqiyu/Desktop/SOSD_data/fb_200M_uint64";
const std::string fname = argv[1];
const size_t nq = 5000;

std::cout << "Load data from " << fname << std::endl;
Expand Down Expand Up @@ -219,7 +219,7 @@ int main(int argc, const char * argv[]) {
bench_results.emplace_back(bench_pgm<1024, 128>(data, queries));


std::ofstream ofs("/Users/liuqiyu/Desktop/bench_pgm_result.csv");
std::ofstream ofs(argv[2]);
ofs << "eps_l,eps_i,levels,lls,ils,latency_branchy_i,latency_branchy_l,latency_branchless_i,latency_branchless_l" << std::endl;

for (auto br : bench_results) {
Expand Down

0 comments on commit ef5160a

Please sign in to comment.