Skip to content
Snippets Groups Projects
Commit 877e89f8 authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

Add type of verification to metric

parent 65893d0d
No related branches found
No related tags found
No related merge requests found
......@@ -55,14 +55,22 @@ public class Metric implements Serializable {
/ NANO_SECONDS_PER_SECOND;
}
/**
* Get the total execution time in ns.
*/
/** Get the total execution time in ns. */
@JsonProperty("totalExecutionTime")
public long getTotalExecutionTime() {
return executionTimes.stream().mapToLong(Long::longValue).sum();
}
/**
* Get the {@link VerificationType}.
*
* @return the {@link VerificationType}
*/
@JsonProperty("type")
public VerificationType getType() {
return type;
}
/**
* Get the total execution time in ms.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment