10 #if defined(__powerpc__)
11 # define CLOCKS_PER_SEC 1000
22 for (std::size_t ii = 0; ii < N; ++ii) {
23 State->update(inputs, val1 + ii * d1, val2 + ii * d2);
27 double elap = ((double)(t2 - t1)) / CLOCKS_PER_SEC / ((
double)N) * 1e6;
28 std::cout <<
format(
"Elapsed time for CoolProp is %g us/call\n", elap);
32 for (std::size_t ii = 0; ii < N; ++ii) {
33 State->update(inputs, val1 + ii * d1, val2 + ii * d2);
36 elap = ((double)(t2 - t1)) / CLOCKS_PER_SEC / ((
double)N) * 1e6;
37 std::cout <<
format(
"Elapsed time for REFPROP is %g us/call\n", elap);