Original HUSH source code based on ZEC 1.0.8 . For historical purposes only!
https://hush.is
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
625 B
18 lines
625 B
#ifndef BENCHMARKS_H
|
|
#define BENCHMARKS_H
|
|
|
|
#include <sys/time.h>
|
|
#include <stdlib.h>
|
|
|
|
extern double benchmark_sleep();
|
|
extern double benchmark_parameter_loading();
|
|
extern double benchmark_create_joinsplit();
|
|
extern double benchmark_solve_equihash();
|
|
extern std::vector<double> benchmark_solve_equihash_threaded(int nThreads);
|
|
extern double benchmark_verify_joinsplit(const JSDescription &joinsplit);
|
|
extern double benchmark_verify_equihash();
|
|
extern double benchmark_large_tx();
|
|
extern double benchmark_try_decrypt_notes(const JSDescription &joinsplit);
|
|
extern double benchmark_increment_note_witnesses(size_t nTxs);
|
|
|
|
#endif
|
|
|