Skip to content

Commit

Permalink
implemented leader node reuse, needs more unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
Randy1005 committed Jun 1, 2023
1 parent ca60740 commit 0c14409
Show file tree
Hide file tree
Showing 9 changed files with 335 additions and 113 deletions.
4 changes: 2 additions & 2 deletions examples/c7552/c7552.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ int main(int argc, char *argv[]) {
}


std::ofstream ofs("c7552.graph");
timer.dump_graph_ops(ofs, 10, 10000);
std::ofstream ofs("c7552.graph.updates");
timer.dump_graph_ops(ofs, 1, 10000, true, 1);


return 0;
Expand Down
4 changes: 2 additions & 2 deletions examples/simple/simple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ int main(int argc, char *argv[]) {
timer.dump_power(std::cout);

// dump graph operations
std::ofstream ofs("simple.graph");
timer.dump_graph_ops(ofs, 1, 20);
std::ofstream ofs("simple.graph.updates");
timer.dump_graph_ops(ofs, 1, 20, true, 1);


return 0;
Expand Down
Binary file modified examples/simple/simple_timing
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/tv80/tv80.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ int main(int argc, char *argv[]) {
}


std::ofstream ofs("tv80.graph");
timer.dump_graph_ops(ofs, 10, 10000);
std::ofstream ofs("tv80.graph.updates");
timer.dump_graph_ops(ofs, 1, 10000, true, 1);


return 0;
Expand Down
4 changes: 2 additions & 2 deletions examples/vga_lcd/vga_lcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ int main(int argc, char *argv[]) {
std::cout << paths[i] << '\n';
}

std::ofstream ofs("vga_lcd.graph");
timer.dump_graph_ops(ofs, 50, 100000);
std::ofstream ofs("vga_lcd.graph.updates");
timer.dump_graph_ops(ofs, 50, 100000, true, 50);



Expand Down
Loading

0 comments on commit 0c14409

Please sign in to comment.