|  | Arax -8d09c51940345c86062e8ef2427c705ae66e5926
    A Runtime Framework for Decoupling Applications from Heterogeneous Accelerators | 
 Include dependency graph for arax_plot.h:
 Include dependency graph for arax_plot.h: This graph shows which files directly or indirectly include this file:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| Functions | |
| uint64_t * | arax_plot_register_metric (const char *name, uint64_t *metric) | 
| uint64_t * arax_plot_register_metric | ( | const char * | name, | 
| uint64_t * | metric ) | 
Register a new metric name and set/get the location where its value resides.
The value pointer metric can be null or a valid arax pointer. When null, the call will allocate space for the metric, and return the pointer. When given a pointer where arax_ptr_valid()==true, the provided pointer is used and returned.
| name | Short name of new metric. | 
| metric | NULL or pointer that has arax_ptr_valid()==true. | 
Definition at line 7 of file arax_plot.c.
References arax_assert, arax_init(), arax_ptr_valid(), arch_alloc_allocate(), utils_kv_set(), and vpipe.
 Here is the call graph for this function:
 Here is the call graph for this function: