Skip to content

Allow configuration of PC collection cadence#316

Merged
gupele merged 2 commits into
masterfrom
features/pc-cadence-is-configurable
Aug 23, 2016
Merged

Allow configuration of PC collection cadence#316
gupele merged 2 commits into
masterfrom
features/pc-cadence-is-configurable

Conversation

@gupele

@gupele gupele commented Aug 18, 2016

Copy link
Copy Markdown
Contributor

Allow users to set the cadence of performance counter collection

@XmlRootElement(name="PerformanceCounters")
public class PerformanceCountersXmlElement {
private boolean useBuiltIn = true;
private long cadenceInSec = 60;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think frequency or even collectionFrequency would be clearer than cadence

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You already defined a constant with the default value. It's better if you can use this constant everywhere instead of writing 60 in two different places

@gupele gupele merged commit 0fb295f into master Aug 23, 2016
@dhaval24 dhaval24 deleted the features/pc-cadence-is-configurable branch December 2, 2017 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants