Index: build/android/chrome_profiler/util.py |
diff --git a/tools/telemetry/telemetry/unittest/test.py b/build/android/chrome_profiler/util.py |
similarity index 62% |
copy from tools/telemetry/telemetry/unittest/test.py |
copy to build/android/chrome_profiler/util.py |
index 72463488d46ed595256cc6568a81699ad1316c0f..75ef1b6ffac8daee9f5a510ee82feb5109c0dc1b 100644 |
--- a/tools/telemetry/telemetry/unittest/test.py |
+++ b/build/android/chrome_profiler/util.py |
@@ -2,8 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-from telemetry import decorators |
+import time |
- |
-Disabled = decorators.Disabled |
-Enabled = decorators.Enabled |
+def GetTraceTimestamp(): |
+ return time.strftime('%Y-%m-%d-%H%M%S', time.localtime()) |