代码拉取完成,页面将自动刷新
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: dehao@google.com (Dehao Chen)
// Main function to merge different type of profile into txt profile.
#include "base/commandlineflags.h"
#include "profile_creator.h"
#include "third_party/abseil/absl/flags/flag.h"
#include "third_party/abseil/absl/flags/parse.h"
#include "third_party/abseil/absl/flags/usage.h"
ABSL_FLAG(std::string, profile, "data.profile", "Profile file name");
ABSL_FLAG(std::string, profiler, "perf", "Profile type");
ABSL_FLAG(std::string, output_file, "data.txt", "Merged profile file name");
ABSL_FLAG(std::string, binary, "data.binary", "Binary file name");
int main(int argc, char **argv) {
absl::SetProgramUsageMessage(argv[0]);
absl::ParseCommandLine(argc, argv);
if (devtools_crosstool_autofdo::MergeSample(
absl::GetFlag(FLAGS_profile), absl::GetFlag(FLAGS_profiler),
absl::GetFlag(FLAGS_binary), absl::GetFlag(FLAGS_output_file))) {
return 0;
} else {
return -1;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。