blob: 613dd06b3ae7b6e7e098f10549f79034f450e2ea [file] [log] [blame]
// Copyright (c) 2012 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.
'use strict';
/**
* @fileoverview Helper functions for use in selection_analysis files.
*/
base.exportTo('tracing.analysis', function() {
function tsRound(ts) {
return Math.round(ts * 1000.0) / 1000.0;
}
return {
tsRound: tsRound
};
});