Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
No profiling output.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed Mar 7, 2017
1 parent 6359e87 commit 3db341b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libdevcrypto/LibSnark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ void initLibSnark()
if (!initialized)
{
libsnark::alt_bn128_pp::init_public_params();
// Otherwise the library would output profiling info for each run.
libsnark::inhibit_profiling_counters = true;
libsnark::inhibit_profiling_info = true;
initialized = true;
}
}
Expand Down

0 comments on commit 3db341b

Please sign in to comment.