Home
last modified time | relevance | path

Searched refs:GetDoubleOption (Results 1 – 7 of 7) sorted by relevance

/system/extras/simpleperf/
Dcommand_test.cpp70 ASSERT_TRUE(command.GetDoubleOption({"-s", "3.2"}, &i, &double_value, 0, 4)); in TEST()
Dcommand.h69 bool GetDoubleOption(const std::vector<std::string>& args, size_t* pi, double* value,
Dcmd_trace_sched.cpp142 if (!GetDoubleOption(args, &i, &duration_in_sec_, 1e-9)) { in ParseOptions()
146 if (!GetDoubleOption(args, &i, &spinloop_check_period_in_sec_, 1e-9)) { in ParseOptions()
150 if (!GetDoubleOption(args, &i, &spinloop_check_rate_, 1e-9, 1.0)) { in ParseOptions()
Dcommand.cpp42 bool Command::GetDoubleOption(const std::vector<std::string>& args, size_t* pi, double* value, in GetDoubleOption() function in Command
Dcmd_stat.cpp626 if (!GetDoubleOption(args, &i, &duration_in_sec_, 1e-9)) { in ParseOptions()
630 if (!GetDoubleOption(args, &i, &interval_in_ms_, 1e-9)) { in ParseOptions()
Dcmd_report.cpp575 if (!GetDoubleOption(args, &i, &callgraph_percent_limit_)) { in ParseOptions()
Dcmd_record.cpp807 if (!GetDoubleOption(args, &i, &duration_in_sec_, 1e-9)) { in ParseOptions()