5 #ifdef CARL_DEVOPTION_Statistics
10 class CoCoAAdaptorStatistics :
public statistics::Statistics {
12 statistics::Timer
gcd;
13 statistics::Timer factorize;
14 statistics::Timer gbasis;
16 Statistics::addKeyValuePair(
"gcd",
gcd);
17 Statistics::addKeyValuePair(
"factorize", factorize);
18 Statistics::addKeyValuePair(
"gbasis", gbasis);
22 static auto& statistics() {
A small wrapper that makes using statistics easier in carl.
#define CARL_INIT_STATISTICS(class, variable, name)
carl is the main namespace for the library.
cln::cl_I gcd(const cln::cl_I &a, const cln::cl_I &b)
Calculate the greatest common divisor of two integers.