lib/dtrace-async.js
/*
 * Translate from the internal format of a "lquantize()" aggregation value into
 * the format we provide to consumers.
 */
Translate from the internal format of a "lquantize()" aggregation value into
the format we provide to consumers.
Translate from the internal format of a " lquantize () " aggregation value into the format we provide to consumers .
function xlateLquantize(args)
{
	var base = args[0];
	var step = args[1];
	var nlevels = args[2];
	var ranges;
	if (dtc_buckets_lquantize[nlevels] === undefined)
		dtc_buckets_lquantize[nlevels] = {};
	if (dtc_buckets_lquantize[nlevels][base] === undefined)
		dtc_buckets_lquantize[nlevels][base] = {};
	if (dtc_buckets_lquantize[nlevels][base][step] === undefined)
		dtc_buckets_lquantize[nlevels][base][step] =
		    makeLquantizeBuckets(base, step, nlevels);
	ranges = dtc_buckets_lquantize[nlevels][base][step];
	return (xlateBuckets(ranges, args.slice(3)));
}
function xlateLquantize ( args ) { var base = args [ 0 ] ; var step = args [ 1 ] ; var nlevels = args [ 2 ] ; var ranges ; if ( dtc_buckets_lquantize [ nlevels ] === undefined ) dtc_buckets_lquantize [ nlevels ] = { } ; if ( dtc_buckets_lquantize [ nlevels ] [ base ] === undefined ) dtc_buckets_lquantize [ nlevels ] [ base ] = { } ; if ( dtc_buckets_lquantize [ nlevels ] [ base ] [ step ] === undefined ) dtc_buckets_lquantize [ nlevels ] [ base ] [ step ] = makeLquantizeBuckets ( base , step , nlevels ) ; ranges = dtc_buckets_lquantize [ nlevels ] [ base ] [ step ] ; return ( xlateBuckets ( ranges , args . slice ( 3 ) ) ) ; }
Translate from the internal format of a "lquantize()" aggregation value into
 the format we provide to consumers.
Translate from the internal format of a " lquantize () " aggregation value into the format we provide to consumers .