Skip to content
Snippets Groups Projects
Commit d164459d authored by Hashim Sharif's avatar Hashim Sharif
Browse files

Removing knob reading prints

parent 03584c81
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,8 @@ PerfParams::PerfParams(int row1, int col1, int skip_offset1) {
}
PerfParamSet::PerfParamSet() {
printf("- knobs_file_path = %s \n", GLOBAL_KNOBS_FILE);
//printf("- knobs_file_path = %s \n", GLOBAL_KNOBS_FILE);
std::ifstream file(GLOBAL_KNOBS_FILE);
std::string line;
......@@ -59,8 +60,8 @@ PerfParamSet::PerfParamSet() {
std::getline(token_stream, tok, ',');
int offset = atoi(tok.c_str());
printf("**** knob = %d, row = %d, col = %d, offset = %d \n\n", knob,
row, col, offset);
//printf("**** knob = %d, row = %d, col = %d, offset = %d \n\n", knob,
// row, col, offset);
PerfParams params(row, col, offset);
perf_knob_map[knob] = params;
}
......@@ -92,7 +93,8 @@ SampParams::SampParams(int skip_rate1, int skip_offset1,
}
SampParamSet::SampParamSet() {
printf("- knobs_file_path = %s \n", GLOBAL_KNOBS_FILE);
//printf("- knobs_file_path = %s \n", GLOBAL_KNOBS_FILE);
std::ifstream file(GLOBAL_KNOBS_FILE);
std::string line;
......@@ -114,7 +116,7 @@ SampParamSet::SampParamSet() {
int index2 = token.find(",");
std::string knob_str = token.substr(index2 + 1);
int knob = atoi(knob_str.c_str());
printf("knob = %d \n", knob);
//printf("knob = %d \n", knob);
std::getline(iss, token, '\t');
std::istringstream token_stream(token);
......@@ -130,7 +132,7 @@ SampParamSet::SampParamSet() {
std::getline(token_stream, tok, ',');
float interpolation_id = atof(tok.c_str());
printf("skip_every = %d, offset = %d \n", skip_every, offset);
//printf("skip_every = %d, offset = %d \n", skip_every, offset);
SampParams params(skip_every, offset, interpolation_id);
samp_knob_map[knob] = params;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment