Commit 7db4b7e 1 parent 5427601 commit 7db4b7e Copy full SHA for 7db4b7e
File tree 1 file changed +6
-2
lines changed
src/librustc_data_structures
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,9 @@ impl SelfProfilerRef {
134
134
}
135
135
136
136
/// 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.
138
140
#[ inline( always) ]
139
141
pub fn verbose_generic_activity < ' a > ( & ' a self , event_id : & ' a str ) -> VerboseTimingGuard < ' a > {
140
142
VerboseTimingGuard :: start (
@@ -145,7 +147,9 @@ impl SelfProfilerRef {
145
147
}
146
148
147
149
/// 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.
149
153
#[ inline( always) ]
150
154
pub fn extra_verbose_generic_activity < ' a > (
151
155
& ' a self ,
You can’t perform that action at this time.
0 commit comments