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

Adding Lat_Rd_Mem support in LMBENCH #420

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

deep1712
Copy link
Contributor

@deep1712 deep1712 commented Jan 6, 2025

No description provided.

@@ -238,7 +238,7 @@ private Task BuildSourceCodeAsync(EventContext telemetryContext, CancellationTok
});
}

private void CaptureMetrics(IProcessProxy process, MetricsParser metricsParser, EventContext telemetryContext)
private void CaptureMetrics(IProcessProxy process, MetricsParser metricsParser, EventContext telemetryContext, string scenario)
Copy link
Contributor

Choose a reason for hiding this comment

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

telemetryContext at last parameter

@@ -326,7 +326,7 @@ private Task ExecuteWorkloadAsync(EventContext telemetryContext, CancellationTok
// The use of the original telemetry context created at the top
// is purposeful.
LMbenchMetricsParser lmbenchMetricsParser = new LMbenchMetricsParser(process.StandardOutput.ToString());
this.CaptureMetrics(process, lmbenchMetricsParser, relatedContext);
this.CaptureMetrics(process, lmbenchMetricsParser, relatedContext, "Memory Benchmark");
Copy link
Contributor

Choose a reason for hiding this comment

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

nit:Avoid spaces as much as we could, use an underscore

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