Auto merge of #1986 - tromer:createjoinsplit-startprofiling, r=ebfull
CreateJoinSplit: add start_profiling() call This solves the problem of profiling output from the CreteJoinSplit benchmarking binary displaying nonsensical large time values.
This commit is contained in:
commit
06ffa210ee
|
@ -5,11 +5,14 @@
|
|||
#include "../util.h"
|
||||
#include "primitives/transaction.h"
|
||||
#include "zcash/JoinSplit.hpp"
|
||||
#include "libsnark/common/profiling.hpp"
|
||||
|
||||
using namespace libzcash;
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
libsnark::start_profiling();
|
||||
|
||||
auto p = ZCJoinSplit::Unopened();
|
||||
p->loadVerifyingKey((ZC_GetParamsDir() / "sprout-verifying.key").string());
|
||||
p->setProvingKeyPath((ZC_GetParamsDir() / "sprout-proving.key").string());
|
||||
|
|
Loading…
Reference in New Issue