A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://chronoxor.github.io/CppBenchmark/class_cpp_benchmark_1_1_phase_metrics.html below:

CppBenchmark: CppBenchmark::PhaseMetrics Class Reference

  PhaseMetrics ()   Default constructor.
    PhaseMetrics (const PhaseMetrics &)=default     PhaseMetrics (PhaseMetrics &&) noexcept=default     ~PhaseMetrics ()   PhaseMetricsoperator= (const PhaseMetrics &)=default   PhaseMetricsoperator= (PhaseMetrics &&) noexcept=default   bool  latency () const noexcept   Is metrics contains latency values?
  int64_t  min_latency () const noexcept   Get latency minimal value of the phase execution.
  int64_t  max_latency () const noexcept   Get latency maximal value of the phase execution.
  double  mean_latency () const noexcept   Get latency mean value of the phase execution.
  double  stdv_latency () const noexcept   Get latency standard deviation of the phase execution.
  int64_t  avg_time () const noexcept   Get average time of the phase execution.
  int64_t  min_time () const noexcept   Get minimal time of the phase execution.
  int64_t  max_time () const noexcept   Get maximal time of the phase execution.
  int64_t  total_time () const noexcept   Get total time of the phase execution.
  int64_t  total_operations () const noexcept   Get total operations made in the phase.
  int64_t  total_items () const noexcept   Get total items processed in the phase.
  int64_t  total_bytes () const noexcept   Get total bytes processed in the phase.
  int64_t  operations_per_second () const noexcept   Get operations throughput (operations / second)
  int64_t  items_per_second () const noexcept   Get items throughput (items / second)
  int64_t  bytes_per_second () const noexcept   Get data throughput (bytes / second)
  const std::map< std::string, int > &  custom_int () const noexcept   Get custom integers map.
  const std::map< std::string, unsigned > &  custom_uint () const noexcept   Get custom unsigned integers map.
  const std::map< std::string, int64_t > &  custom_int64 () const noexcept   Get custom integers 64-bit map.
  const std::map< std::string, uint64_t > &  custom_uint64 () const noexcept   Get custom unsigned integers 64-bit map.
  const std::map< std::string, float > &  custom_flt () const noexcept   Get custom float map.
  const std::map< std::string, double > &  custom_dbl () const noexcept   Get custom doubles map.
  const std::map< std::string, std::string > &  custom_str () const noexcept   Get custom strings map.
  int  threads () const noexcept   void  AddOperations (int64_t operations) noexcept   Increase operations count of the current phase.
  void  AddItems (int64_t items) noexcept   Register processed items in the current phase.
  void  AddBytes (int64_t bytes) noexcept   Register processed bytes in the current phase.
  void  SetCustom (const std::string &name, int value)   Set custom integer value.
  void  SetCustom (const std::string &name, unsigned value)   Set custom unsigned integer value.
  void  SetCustom (const std::string &name, int64_t value)   Set custom integer 64-bit value.
  void  SetCustom (const std::string &name, uint64_t value)   Set custom unsigned integer 64-bit value.
  void  SetCustom (const std::string &name, float value)   Set custom float value.
  void  SetCustom (const std::string &name, double value)   Set custom double value.
  void  SetCustom (const std::string &name, const std::string &value)   Set custom string value.
  void  SetThreads (int threads)   Set threads value.
  void  AddLatency (int64_t latency) noexcept   Add latency value of the current phase.
 

Benchmark phase metrics.

Provides interface of the phase metrics to collect benchmark running statistics:

If the phase metrics is accessed from benchmark running Context you can update some metrics values:

Definition at line 36 of file phase_metrics.h.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4