Skip to content

Commit 4d14be8

Browse files
author
Brett VanderHaar
committed
add proper timing
1 parent 27186d0 commit 4d14be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

floyd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ int main(int argc, char *argv[]) {
117117
clock_t end_matrix_calc = clock();
118118
double elapsed_msecs_matrix_calc =
119119
double(end_matrix_calc - begin_matrix_calc) / (CLOCKS_PER_SEC / 1000);
120-
std::cout << "Graph process time (serial): " << elapsed_msecs_matrix_calc
120+
std::cout << "Graph process time (serial): " << elapsed_graph_process
121121
<< std::endl;
122122
// std::cout << "solution array: " << std::endl;
123123
// print_2d_array(solution, vertices);

0 commit comments

Comments
 (0)