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
API
Commits
8377066d
Commit
8377066d
authored
Jan 11, 2023
by
Henry Kalff
Browse files
Add percentages to Metrics.
parent
3eff0ca8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tudarmstadt/maki/simonstrator/api/common/metric/Metric.java
View file @
8377066d
...
...
@@ -50,7 +50,7 @@ public interface Metric<M extends MetricValue<?>> {
*/
public
enum
MetricUnit
{
NONE
(
""
),
TRAFFIC
(
"byte/s"
),
TIME
(
"us"
),
DATA
(
"byte"
),
UNKNOWN
(
"unknown"
),
JOULE
(
"J"
),
METER
(
"m"
);
"byte"
),
UNKNOWN
(
"unknown"
),
JOULE
(
"J"
),
METER
(
"m"
)
,
PERCENTAGE
(
"%"
)
;
private
final
String
representation
;
...
...
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