[HIPIFY] Statistics to CSV file dumping revise
+ Add option -print-stats-csv to dump statistics to CSV file
+ If -o-dir is specified, CSV file will be dumped there
+ Generate 1 summary file sum_stat.csv in case of multiple sources
[ROCm/hip commit: 3b40e53cff]
This commit is contained in:
@@ -104,6 +104,11 @@ cl::opt<bool> PrintStats("print-stats",
|
||||
cl::value_desc("print-stats"),
|
||||
cl::cat(ToolTemplateCategory));
|
||||
|
||||
cl::opt<bool> PrintStatsCSV("print-stats-csv",
|
||||
cl::desc("Print translation statistics in CSV file"),
|
||||
cl::value_desc("print-stats-csv"),
|
||||
cl::cat(ToolTemplateCategory));
|
||||
|
||||
cl::opt<std::string> OutputStatsFilename("o-stats",
|
||||
cl::desc("Output filename for statistics"),
|
||||
cl::value_desc("filename"),
|
||||
|
||||
Reference in New Issue
Block a user