Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
0d0f5448
Commit
0d0f5448
authored
Nov 15, 2016
by
Björn Richerzhagen
Browse files
Access to all available Metrics
parent
38885049
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/analyzer/metric/MetricAnalyzer.java
View file @
0d0f5448
...
@@ -133,6 +133,15 @@ public class MetricAnalyzer implements Analyzer {
...
@@ -133,6 +133,15 @@ public class MetricAnalyzer implements Analyzer {
Monitor
.
log
(
MetricAnalyzer
.
class
,
Level
.
WARN
,
"You requested metric '"
+
name
+
"', which was not found. Available metrics are: %s"
,
metrics
);
Monitor
.
log
(
MetricAnalyzer
.
class
,
Level
.
WARN
,
"You requested metric '"
+
name
+
"', which was not found. Available metrics are: %s"
,
metrics
);
return
null
;
return
null
;
}
}
/**
* Retrieve all metrics
*
* @return
*/
public
static
List
<
Metric
<?>>
getMetrics
()
{
return
metrics
;
}
/**
/**
* Adds an ouput channel
* Adds an ouput channel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment