Skip to content

Commit

Permalink
add benchmark print
Browse files Browse the repository at this point in the history
  • Loading branch information
jnke2016 committed Nov 1, 2024
1 parent e61a580 commit 0c83b54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/src/community/k_truss_impl.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,7 @@ k_truss(raft::handle_t const& handle,

std::cout << "k_truss took " << k_truss_ms.count() / 1000 << " milliseconds" << std::endl;
std::cout << "intersection took " << intersection_ms.count()/1000 << " milliseconds" << std::endl;
std::cout << "percentage during intersection = " << ((intersection_ms.count()/1000) / (k_truss_ms.count() / 1000)) * 100 << std::endl;
std::cout << "The number of edges = " << cur_undirected_graph_view.compute_number_of_edges(handle) << " and the num_iteration = " << iteration << std::endl;

std::optional<rmm::device_uvector<weight_t>> edgelist_wgts{std::nullopt};
Expand Down

0 comments on commit 0c83b54

Please sign in to comment.