Merge "simpleperf: update simpleperf prebuilts to build 6578012."
diff --git a/simpleperf/include/simpleperf_profcollect.h b/simpleperf/include/simpleperf_profcollect.h
index 193aa64..507eddf 100644
--- a/simpleperf/include/simpleperf_profcollect.h
+++ b/simpleperf/include/simpleperf_profcollect.h
@@ -24,7 +24,7 @@
bool HasSupport();
bool Record(const std::filesystem::path& output,
- const std::chrono::seconds& duration);
+ const std::chrono::duration<float>& duration);
bool Inject(const std::filesystem::path& traceInput,
const std::filesystem::path& output,
const std::string& binaryFilter);
diff --git a/simpleperf/profcollect.cpp b/simpleperf/profcollect.cpp
index 8d28638..2f15c35 100644
--- a/simpleperf/profcollect.cpp
+++ b/simpleperf/profcollect.cpp
@@ -30,7 +30,7 @@
}
bool Record(const std::filesystem::path& output,
- const std::chrono::seconds& duration) {
+ const std::chrono::duration<float>& duration) {
auto recordCmd = CreateCommandInstance("record");
std::vector<std::string> args;
args.push_back("-a");