GraphChi 0.1

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros
Public Member Functions
graphchi::metrics Class Reference

`#include <metrics.hpp>`

List of all members.

## Public Member Functions
| metrics (std::string _name="", std::string _id="")
void | clear ()
std::string | iterkey (std::string key, int iter)
void | add (std::string key, double value, metrictype type=REAL)
void | add_to_vector (std::string key, double value)
void | add_vector_entry (std::string key, size_t idx, double value)
void | set (std::string key, size_t value)
void | set (std::string key, int value)
void | set (std::string key, double value, metrictype type=REAL)
void | set_integer (std::string key, size_t value)
void | set (std::string key, std::string s)
void | set_vector_entry_integer (std::string key, size_t idx, size_t value)
void | set_vector_entry (std::string key, size_t idx, double value)
void | start_time (std::string key)
metrics_entry | start_time ()
void | stop_time (metrics_entry me, std::string key, bool show=false)
void | stop_time (metrics_entry me, std::string key, int iternum, bool show=false)
void | stop_time (std::string key, bool show=false)
metrics_entry | get (std::string key)
void | report (imetrics_reporter &reporter)

## Detailed Description

Metrics instance for logging metrics of a single object type. Name of the metrics instance is set on construction.

## Member Function Documentation

void graphchi::metrics::add | ( | std::string | key,
|  | double | value,
|  | metrictype | type = `REAL`
| ) |  |
| inline

Add to an existing value or create new.

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

- src/metrics/metrics.hpp