• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5'use strict';
6
7/**
8 * @fileoverview Helper functions for use in selection_analysis files.
9 */
10
11base.exportTo('tracing.analysis', function() {
12
13  function tsRound(ts) {
14    return Math.round(ts * 1000.0) / 1000.0;
15  }
16
17  return {
18    tsRound: tsRound
19  };
20
21});
22