Show More
@@ -923,7 +923,7 b" coreconfigitem('profiling', 'statformat'" | |||
|
923 | 923 | default='hotpath', |
|
924 | 924 | ) |
|
925 | 925 | coreconfigitem('profiling', 'time-track', |
|
926 |
default= |
|
|
926 | default=dynamicdefault, | |
|
927 | 927 | ) |
|
928 | 928 | coreconfigitem('profiling', 'type', |
|
929 | 929 | default='stat', |
@@ -101,7 +101,8 b' def statprofile(ui, fp):' | |||
|
101 | 101 | else: |
|
102 | 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 | 106 | statprof.start(mechanism='thread', track=track) |
|
106 | 107 | |
|
107 | 108 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now