Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuration of PC collection cadence #316

Merged
merged 2 commits into from
Aug 23, 2016

Conversation

gupele
Copy link
Contributor

@gupele gupele commented Aug 18, 2016

Allow users to set the cadence of performance counter collection

@@ -32,6 +30,7 @@
@XmlRootElement(name="PerformanceCounters")
public class PerformanceCountersXmlElement {
private boolean useBuiltIn = true;
private long cadenceInSec = 60;
Copy link
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
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