]>
Commit | Line | Data |
---|---|---|
6962bb3d TH |
1 | #ifndef BENCHMARKS_H |
2 | #define BENCHMARKS_H | |
3 | ||
4 | #include <sys/time.h> | |
5 | #include <stdlib.h> | |
6 | ||
7 | extern double benchmark_sleep(); | |
8 | extern double benchmark_parameter_loading(); | |
9 | extern double benchmark_create_joinsplit(); | |
4082dcb1 | 10 | extern std::vector<double> benchmark_create_joinsplit_threaded(int nThreads); |
9e52ca32 JG |
11 | extern double benchmark_solve_equihash(); |
12 | extern std::vector<double> benchmark_solve_equihash_threaded(int nThreads); | |
a8c68ffe | 13 | extern double benchmark_verify_joinsplit(const JSDescription &joinsplit); |
a1cd1a27 | 14 | extern double benchmark_verify_equihash(); |
818b94f9 | 15 | extern double benchmark_large_tx(size_t nInputs); |
89e75c8c EOW |
16 | extern double benchmark_try_decrypt_sprout_notes(size_t nAddrs); |
17 | extern double benchmark_try_decrypt_sapling_notes(size_t nAddrs); | |
8a1d1930 EOW |
18 | extern double benchmark_increment_sprout_note_witnesses(size_t nTxs); |
19 | extern double benchmark_increment_sapling_note_witnesses(size_t nTxs); | |
c66c731a | 20 | extern double benchmark_connectblock_slow(); |
a76174b7 | 21 | extern double benchmark_sendtoaddress(CAmount amount); |
2e8aefdc | 22 | extern double benchmark_loadwallet(); |
99dd50c3 | 23 | extern double benchmark_listunspent(); |
67d2b797 S |
24 | extern double benchmark_create_sapling_spend(); |
25 | extern double benchmark_create_sapling_output(); | |
26 | extern double benchmark_verify_sapling_spend(); | |
27 | extern double benchmark_verify_sapling_output(); | |
6962bb3d TH |
28 | |
29 | #endif |