Searched refs:GetDoubleOption (Results 1 – 4 of 4) sorted by relevance
/system/extras/simpleperf/ |
D | cmd_trace_sched.cpp | 142 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()
|
D | command_test.cpp | 69 ASSERT_TRUE(command.GetDoubleOption({"-s", "3.2"}, &i, &double_value, 0, 4)); in TEST()
|
D | command.h | 199 bool GetDoubleOption(const std::vector<std::string>& args, size_t* pi, double* value,
|
D | command.cpp | 138 bool Command::GetDoubleOption(const std::vector<std::string>& args, size_t* pi, double* value, in GetDoubleOption() function in simpleperf::Command
|