Details
Diff Detail
- Repository
- rCRT Compiler Runtime
Event Timeline
| lib/profile/InstrProfilingFile.c | ||
|---|---|---|
| 690 | I suggest not using the main file for order dumping for a couple of reasons:
To dump into a separate file, you can use the main filename as the base with a differnent suffix: main file: default_xxx.profraw | |
Hi David,
Thanks for reviewing the patch! Sorry for the delay! Just came back from a vacation.
The updated diff dumps order file profile data in xxx.order.
Manman
| lib/profile/InstrProfilingFile.c | ||
|---|---|---|
| 115 | As follow up, I think it is better to make buffer size controllable by an internal option, and compiler can pass the size to runtime via a variable. Not needed for this patch. | |
| 116 | The #if 0 needs to be cleaned up. | |
| test/profile/Inputs/instrprof-order-file.c | ||
| 11 | Perfhaps call 'g' in a loop to show only one entry is recorded? | |
| 12 | add another call to 'f' after call to 'g' to test it is not double recorded. | |
As follow up, I think it is better to make buffer size controllable by an internal option, and compiler can pass the size to runtime via a variable. Not needed for this patch.