File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/librustc_data_structures Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,9 @@ impl SelfProfilerRef {
134134 }
135135
136136 /// Start profiling a verbose generic activity. Profiling continues until the
137- /// VerboseTimingGuard returned from this call is dropped.
137+ /// VerboseTimingGuard returned from this call is dropped. In addition to recording
138+ /// a measureme event, "verbose" generic activities also print a timing entry to
139+ /// stdout if the compiler is invoked with -Ztime or -Ztime-passes.
138140 #[ inline( always) ]
139141 pub fn verbose_generic_activity < ' a > ( & ' a self , event_id : & ' a str ) -> VerboseTimingGuard < ' a > {
140142 VerboseTimingGuard :: start (
@@ -145,7 +147,9 @@ impl SelfProfilerRef {
145147 }
146148
147149 /// Start profiling a extra verbose generic activity. Profiling continues until the
148- /// VerboseTimingGuard returned from this call is dropped.
150+ /// VerboseTimingGuard returned from this call is dropped. In addition to recording
151+ /// a measureme event, "extra verbose" generic activities also print a timing entry to
152+ /// stdout if the compiler is invoked with -Ztime-passes.
149153 #[ inline( always) ]
150154 pub fn extra_verbose_generic_activity < ' a > (
151155 & ' a self ,
You can’t perform that action at this time.
0 commit comments