Interface IVtrace
interface IVtrace
Extends com.amazon.apmf.IStandard
IVtrace interface contains APIs to for trace session control
and creating an ITraceCategory object
Methods
internCategory()
Creates an instance of ITraceCategoryITraceCategory*internCategory(stringname,stringtraceType)
Parameters
name
string — Required
Name of category
traceType
string — Required
Type of the trace point - valid options are: ‘vtrace’ or ‘vt_kpi’
Returns
ITraceCategory*
A new ITraceCategory instance
sendTrigger()
Starts/stops a tracing session with a trigger. When sending a trigger, the trigger will be saved in a list of triggers and start tracing. If a recorded trigger name is used, the tracing session will end.voidsendTrigger(stringname)
Parameters
name
string — Required
The trigger phrase
getEnablementFlag()
com.amazon.apmf.NativePointer getEnablementFlag()
Points to a word-sized piece of memory
that is set to non-zero when any form of
tracing is enabled. Read with relaxed
atomics and used as a conservative approximation
of enablement that can be check without a function call
Returns
com.amazon.apmf.NativePointer
Pointer to memory location that indicates if tracing is enabled

