Home
last modified time | relevance | path

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

/system/extras/simpleperf/
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_test.cpp69 ASSERT_TRUE(command.GetDoubleOption({"-s", "3.2"}, &i, &double_value, 0, 4)); in TEST()
Dcommand.h199 bool GetDoubleOption(const std::vector<std::string>& args, size_t* pi, double* value,
Dcommand.cpp138 bool Command::GetDoubleOption(const std::vector<std::string>& args, size_t* pi, double* value, in GetDoubleOption() function in simpleperf::Command