Files
kiss-flixel/feedback-server/externs/node/perf_hooks/Histogram.hx

37 lines
804 B
Haxe

package node.perf_hooks;
typedef Histogram = {
/**
Returns a `Map` object detailing the accumulated percentile distribution.
**/
final percentiles : js.lib.Map<Float, Float>;
/**
The number of times the event loop delay exceeded the maximum 1 hour event
loop delay threshold.
**/
final exceeds : Float;
/**
The minimum recorded event loop delay.
**/
final min : Float;
/**
The maximum recorded event loop delay.
**/
final max : Float;
/**
The mean of the recorded event loop delays.
**/
final mean : Float;
/**
The standard deviation of the recorded event loop delays.
**/
final stddev : Float;
/**
Resets the collected histogram data.
**/
function reset():Void;
/**
Returns the value at the given percentile.
**/
function percentile(percentile:Float):Float;
};