diff options
author | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-12 19:52:32 +0000 |
---|---|---|
committer | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-12 19:52:32 +0000 |
commit | 5d42aee40bbf4edff392a5ea6aa9e5334a35d030 (patch) | |
tree | 26126d388b9baaa3518fa67e357aaf546a0d53f1 /tools/android/adb_profile_chrome/util.py | |
parent | a939586048b9a634d05feadb88d68efd98ecdca4 (diff) | |
download | chromium_src-5d42aee40bbf4edff392a5ea6aa9e5334a35d030.zip chromium_src-5d42aee40bbf4edff392a5ea6aa9e5334a35d030.tar.gz chromium_src-5d42aee40bbf4edff392a5ea6aa9e5334a35d030.tar.bz2 |
Move adb_profile_chrome under tools/android/
Move adb_profile_chrome from build/android/ to tools/android/ to make
its purpose clearer.
BUG=375754
TEST=tools/android/adb_profile_chrome/run_tests
Review URL: https://codereview.chromium.org/310413003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276779 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/android/adb_profile_chrome/util.py')
-rw-r--r-- | tools/android/adb_profile_chrome/util.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/android/adb_profile_chrome/util.py b/tools/android/adb_profile_chrome/util.py new file mode 100644 index 0000000..75ef1b6 --- /dev/null +++ b/tools/android/adb_profile_chrome/util.py @@ -0,0 +1,8 @@ +# Copyright 2014 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. + +import time + +def GetTraceTimestamp(): + return time.strftime('%Y-%m-%d-%H%M%S', time.localtime()) |