blob: befe0b2363d018a5dcf2638c216177c80b479e5b [file] [log] [blame]
<!DOCTYPE html>
<!--
Copyright (c) 2015 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<link rel="import" href="/perf_insights/function_handle.html">
<script>
'use strict';
tr.exportTo('pi.r', function() {
function testReduceFunction(key, mapResults) {
return {value: mapResults[key].value};
}
pi.FunctionRegistry.register(testReduceFunction);
return {
testReduceFunction: testReduceFunction
};
});