增加计时
This commit is contained in:
parent
cd54a20086
commit
cd43915949
10
hostfile
10
hostfile
@ -1,2 +1,8 @@
|
||||
192.168.100.6
|
||||
192.168.100.9
|
||||
192.168.100.1 slots=9
|
||||
192.168.100.4 slots=8
|
||||
192.168.100.5 slots=8
|
||||
192.168.100.6 slots=8
|
||||
192.168.100.9 slots=8
|
||||
192.168.100.10 slots=8
|
||||
192.168.100.11 slots=8
|
||||
192.168.100.12 slots=8
|
@ -139,4 +139,8 @@ void leader_main(light* S, int num_procs, int rank) {
|
||||
printf("s UNKNOWN\n");
|
||||
}
|
||||
|
||||
auto clk_now = std::chrono::high_resolution_clock::now();
|
||||
double solve_time = std::chrono::duration_cast<std::chrono::milliseconds>(clk_now - clk_st).count();
|
||||
printf("c time: %.3f\n", solve_time / 1000);
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user