NV::Rules

namespace Rules

数据结构

IAction

Action 接口。

IBaseContext

IContext

Context 接口。

IController

Controller 接口。

IEvaluator

Evaluator 接口。

IFrontend

Frontend 接口。

IMessageVault

IMetric

Metric 接口。

INvtxDomainInfo

NvtxDomainInfo 接口。

INvtxRange

NvtxRange 接口。

INvtxState

NvtxState 接口。

IRange

Range 接口。

ISourceInfo

SourceInfo 接口。

枚举

RuleKind

规则类型。

函数

IContext * get_context(ContextHandle h)

转换上下文句柄。

IEvaluator * get_evaluator(ContextHandle h)

返回 evaluator 对象。

std::string get_version(ContextHandle h)

获取此接口的版本号。

void raise_exception(ContextHandle h, const char *msg)

引发 python 异常。

类型定义

枚举

enum class NV::Rules::RuleKind

规则类型。

保留供将来使用。

enumerator DEFAULT
enumerator GUIDED