-->
NvRules API (PDF) - v2021.2.2 (older) - Last updated September 2, 2021 - Send Feedback -

## 3. Data Fields

Here is a list of all documented struct and union fields with links to the struct/union documentation for each field:

## A

action_by_idx()
  NV::Rules::IRange
actions_by_nvtx()
  NV::Rules::IRange
add_double_metric()
  NV::Rules::IAction
add_integer_metric()
  NV::Rules::IAction
add_string_metric()
  NV::Rules::IAction
as_double()
  NV::Rules::IMetric
as_string()
  NV::Rules::IMetric
as_uint64()
  NV::Rules::IMetric

## C

category()
  NV::Rules::INvtxRange
color()
  NV::Rules::INvtxRange
controller()
  NV::Rules::IContext

## D

domain_by_id()
  NV::Rules::INvtxState
domains()
  NV::Rules::INvtxState

## F

file_name()
  NV::Rules::ISourceInfo
focus_metric()
  NV::Rules::IFrontend
frontend()
  NV::Rules::IContext

## H

has_attributes()
  NV::Rules::INvtxRange
has_value()
  NV::Rules::IMetric

## K

kind()
  NV::Rules::IMetric

## L

line()
  NV::Rules::ISourceInfo
load_chart_from_file()
  NV::Rules::IFrontend

## M

message()
  NV::Rules::INvtxRange
  NV::Rules::IFrontend
metric_by_name()
  NV::Rules::IAction
metric_names()
  NV::Rules::IAction

## N

name()
  NV::Rules::IMetric
  NV::Rules::INvtxRange
  NV::Rules::IAction
  NV::Rules::INvtxDomainInfo
num_actions()
  NV::Rules::IRange
num_instances()
  NV::Rules::IMetric
num_ranges()
  NV::Rules::IContext
nvtx_state()
  NV::Rules::IAction

## P

payload_as_double()
  NV::Rules::INvtxRange
payload_as_string()
  NV::Rules::INvtxRange
payload_as_uint64()
  NV::Rules::INvtxRange
payload_type()
  NV::Rules::INvtxRange
propose_rule()
  NV::Rules::IController
push_pop_range()
  NV::Rules::INvtxDomainInfo
push_pop_ranges()
  NV::Rules::INvtxDomainInfo

## R

range_by_idx()
  NV::Rules::IContext
require_metric()
  NV::Rules::IEvaluator
require_rule()
  NV::Rules::IEvaluator

## S

source_info()
  NV::Rules::IAction
start_end_range()
  NV::Rules::INvtxDomainInfo
start_end_ranges()
  NV::Rules::INvtxDomainInfo