blob: 613dd06b3ae7b6e7e098f10549f79034f450e2ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// 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
};
});
|