X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=src%2Ftypes%2FCommandStatistics.ts;h=2b84a5e4abca4e368deaf332ce31e18a85db059c;hb=ef72d3f5c132271abe618ee676814994259529ce;hp=b8740039cdfd2d193253580f2570fbbd37d8944e;hpb=edfb206c5a6a309cbe5a8e6bf3c3f52ab57d96fc;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/CommandStatistics.ts b/src/types/CommandStatistics.ts index b8740039..2b84a5e4 100644 --- a/src/types/CommandStatistics.ts +++ b/src/types/CommandStatistics.ts @@ -1,4 +1,4 @@ -import CircularArray from '../utils/CircularArray'; +import { CircularArray } from '../utils/CircularArray'; import { EntryType } from 'perf_hooks'; export interface PerfEntry { @@ -20,8 +20,10 @@ export interface CommandStatisticsData { totalTimeMeasurement: number; avgTimeMeasurement: number; medTimeMeasurement: number; + stdDevTimeMeasurement: number; } export default interface CommandStatistics { - [command: string]: CommandStatisticsData; + id: string; + commandsStatisticsData: Record; }