Skip to content

Commit

Permalink
tidy(trace): 优化analyzer工具提示
Browse files Browse the repository at this point in the history
  • Loading branch information
hevake committed Jun 10, 2024
1 parent d68271f commit 4f7c0e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/trace/tools/analyzer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ int main(int argc, char **argv)
std::string view_filename = dir_path + "/view.json";
std::string stat_filename = dir_path + "/stat.txt";

std::cout << "Info: Generating " << view_filename << std::endl;
trace::Writer writer;
if (!writer.open(view_filename)) {
std::cerr << "Err: Create '" << view_filename << "' fail!" << std::endl;
Expand Down Expand Up @@ -273,6 +274,7 @@ int main(int argc, char **argv)
writer.writeFooter();

//! 输出统计到 stat.txt
std::cout << "Info: Generating " << stat_filename << std::endl;
DumpStatToFile(name_vec, stat_vec, stat_filename);

std::cout << "Info: Success." << std::endl;
Expand Down

0 comments on commit 4f7c0e6

Please sign in to comment.