Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(763)

Unified Diff: tools/win/timeit.bat

Issue 2820843002: Add timeit.bat to tools\win (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/win/subtract_time.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/win/timeit.bat
diff --git a/tools/win/timeit.bat b/tools/win/timeit.bat
new file mode 100755
index 0000000000000000000000000000000000000000..af00372558102b6b835054becd685b22f9f641b0
--- /dev/null
+++ b/tools/win/timeit.bat
@@ -0,0 +1,13 @@
+@ECHO off
+
+REM Copyright (c) 2017 The Chromium Authors. All rights reserved.
+REM Use of this source code is governed by a BSD-style license that can be
+REM found in the LICENSE file.
+
+REM This batch file executes the commands passed to it and prints out the
+REM elapsed run time.
+
+SETLOCAL
+SET starttime=%time%
+CALL %*
+CALL python %~dp0subtract_time.py %time% %starttime%
« no previous file with comments | « tools/win/subtract_time.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698