/AWS1/CL_GUPAGENTCONFIGURATION¶
The response of
ConfigureAgent
that
specifies if an agent profiles or not and for how long to return profiling data.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_shouldprofile TYPE /AWS1/GUPBOOLEAN /AWS1/GUPBOOLEAN¶
A
Booleanthat specifies whether the profiling agent collects profiling data or not. Set totrueto enable profiling.
iv_periodinseconds TYPE /AWS1/GUPINTEGER /AWS1/GUPINTEGER¶
How long a profiling agent should send profiling data using
ConfigureAgent. For example, if this is set to 300, the profiling agent callsConfigureAgentevery 5 minutes to submit the profiled data collected during that period.
Optional arguments:¶
it_agentparameters TYPE /AWS1/CL_GUPAGENTPARAMETERS_W=>TT_AGENTPARAMETERS TT_AGENTPARAMETERS¶
Parameters used by the profiler. The valid parameters are:
MaxStackDepth- The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a methodA, which calls methodB, which calls methodC, which calls methodD, then the depth is 4. If themaxDepthis set to 2, then the profiler evaluatesAandB.
MemoryUsageLimitPercent- The percentage of memory that is used by the profiler.
MinimumTimeForReportingInMilliseconds- The minimum time in milliseconds between sending reports.
ReportingIntervalInMilliseconds- The reporting interval in milliseconds used to report profiles.
SamplingIntervalInMilliseconds- The sampling interval in milliseconds that is used to profile samples.
Queryable Attributes¶
shouldProfile¶
A
Booleanthat specifies whether the profiling agent collects profiling data or not. Set totrueto enable profiling.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SHOULDPROFILE() |
Getter for SHOULDPROFILE, with configurable default |
ASK_SHOULDPROFILE() |
Getter for SHOULDPROFILE w/ exceptions if field has no value |
HAS_SHOULDPROFILE() |
Determine if SHOULDPROFILE has a value |
periodInSeconds¶
How long a profiling agent should send profiling data using
ConfigureAgent. For example, if this is set to 300, the profiling agent callsConfigureAgentevery 5 minutes to submit the profiled data collected during that period.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PERIODINSECONDS() |
Getter for PERIODINSECONDS, with configurable default |
ASK_PERIODINSECONDS() |
Getter for PERIODINSECONDS w/ exceptions if field has no val |
HAS_PERIODINSECONDS() |
Determine if PERIODINSECONDS has a value |
agentParameters¶
Parameters used by the profiler. The valid parameters are:
MaxStackDepth- The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a methodA, which calls methodB, which calls methodC, which calls methodD, then the depth is 4. If themaxDepthis set to 2, then the profiler evaluatesAandB.
MemoryUsageLimitPercent- The percentage of memory that is used by the profiler.
MinimumTimeForReportingInMilliseconds- The minimum time in milliseconds between sending reports.
ReportingIntervalInMilliseconds- The reporting interval in milliseconds used to report profiles.
SamplingIntervalInMilliseconds- The sampling interval in milliseconds that is used to profile samples.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AGENTPARAMETERS() |
Getter for AGENTPARAMETERS, with configurable default |
ASK_AGENTPARAMETERS() |
Getter for AGENTPARAMETERS w/ exceptions if field has no val |
HAS_AGENTPARAMETERS() |
Determine if AGENTPARAMETERS has a value |