diff mercurial/configitems.py @ 38260:15a1e37f80bd

profiling: introduce a "profiling.time-track" option This option allows to switch the time used by the statistical profiler from cpu to real time. Our goal is to profile IO intensive operations using the mercurial profiler.
author Boris Feld <boris.feld@octobus.net>
date Fri, 01 Jun 2018 17:27:58 +0200
parents ead71b15efd5
children 35b50237908b
line wrap: on
line diff
--- a/mercurial/configitems.py	Fri Jun 01 11:23:27 2018 +0200
+++ b/mercurial/configitems.py	Fri Jun 01 17:27:58 2018 +0200
@@ -867,6 +867,9 @@
 coreconfigitem('profiling', 'statformat',
     default='hotpath',
 )
+coreconfigitem('profiling', 'time-track',
+    default='cpu',
+)
 coreconfigitem('profiling', 'type',
     default='stat',
 )