##// END OF EJS Templates
profiling: revert the default mode back to 'cpu' on Windows...
Matt Harbison -
r40469:89703e61 stable
parent child Browse files
Show More
@@ -923,7 +923,7 b" coreconfigitem('profiling', 'statformat'"
923 default='hotpath',
923 default='hotpath',
924 )
924 )
925 coreconfigitem('profiling', 'time-track',
925 coreconfigitem('profiling', 'time-track',
926 default='real',
926 default=dynamicdefault,
927 )
927 )
928 coreconfigitem('profiling', 'type',
928 coreconfigitem('profiling', 'type',
929 default='stat',
929 default='stat',
@@ -101,7 +101,8 b' def statprofile(ui, fp):'
101 else:
101 else:
102 ui.warn(_("invalid sampling frequency '%s' - ignoring\n") % freq)
102 ui.warn(_("invalid sampling frequency '%s' - ignoring\n") % freq)
103
103
104 track = ui.config('profiling', 'time-track')
104 track = ui.config('profiling', 'time-track',
105 pycompat.iswindows and 'cpu' or 'real')
105 statprof.start(mechanism='thread', track=track)
106 statprof.start(mechanism='thread', track=track)
106
107
107 try:
108 try:
General Comments 0
You need to be logged in to leave comments. Login now