Use a circular array to store time measurements.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 20 Nov 2020 00:25:55 +0000 (01:25 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 20 Nov 2020 00:25:55 +0000 (01:25 +0100)
commitedfb206c5a6a309cbe5a8e6bf3c3f52ab57d96fc
tree01720531b90bf1f83ea4c1831a210eb9cab34ddb
parent026d6343350a6c53925bc3332e1f849bb26e5910
Use a circular array to store time measurements.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/types/CommandStatistics.ts
src/utils/CircularArray.ts [new file with mode: 0644]
src/utils/Constants.ts
src/utils/Statistics.ts