proxygen
FreeDigest Class Reference

Public Member Functions

 FreeDigest (size_t)
 
FreeDigest merge (Range< const double * >) const
 

Detailed Description

Definition at line 34 of file DigestBuilderBenchmark.cpp.

Constructor & Destructor Documentation

FreeDigest::FreeDigest ( size_t  )
inlineexplicit

Definition at line 36 of file DigestBuilderBenchmark.cpp.

36 {}

Member Function Documentation

FreeDigest FreeDigest::merge ( Range< const double * >  ) const
inline

Definition at line 38 of file DigestBuilderBenchmark.cpp.

References now(), and start.

38  {
40  auto finish = start + std::chrono::nanoseconds{FLAGS_digest_merge_time_ns};
41  while (std::chrono::steady_clock::now() < finish) {
42  }
43  return FreeDigest(100);
44  }
std::chrono::steady_clock::time_point now()
auto start

The documentation for this class was generated from the following file: