Home
last modified time | relevance | path

Searched refs:scenario (Results 1 – 25 of 219) sorted by relevance

123456789

/external/grpc-grpc/test/cpp/qps/
Dqps_json_driver.cc78 static std::unique_ptr<ScenarioResult> RunAndReport(const Scenario& scenario, in RunAndReport() argument
80 std::cerr << "RUNNING SCENARIO: " << scenario.name() << "\n"; in RunAndReport()
82 scenario.client_config(), scenario.num_clients(), in RunAndReport()
83 scenario.server_config(), scenario.num_servers(), in RunAndReport()
84 scenario.warmup_seconds(), scenario.benchmark_seconds(), in RunAndReport()
85 !FLAGS_run_inproc ? scenario.spawn_local_worker_count() : -2, in RunAndReport()
91 result->mutable_scenario()->CopyFrom(scenario); in RunAndReport()
118 static double GetCpuLoad(Scenario* scenario, double offered_load, in GetCpuLoad() argument
120 scenario->mutable_client_config() in GetCpuLoad()
124 auto result = RunAndReport(*scenario, success); in GetCpuLoad()
[all …]
Dqps_benchmark_script.bzl33 for scenario in QPS_JSON_DRIVER_SCENARIOS:
35 name = "qps_json_driver_test_%s" % scenario,
40 QPS_JSON_DRIVER_SCENARIOS[scenario],
58 for scenario in JSON_RUN_LOCALHOST_SCENARIOS:
60 name = "json_run_localhost_%s" % scenario,
64 JSON_RUN_LOCALHOST_SCENARIOS[scenario],
Dqps_json_driver_scenario_gen.py30 all_scenarios = {scenario['name'].encode('ascii', 'ignore'): \
31 '\'{\'scenarios\' : [' + json.dumps(scenario) + ']}\'' \
32 for scenario in deserialized_scenarios}
Djson_run_localhost_scenario_gen.py30 all_scenarios = {scenario['name'].encode('ascii', 'ignore'): \
31 '\'{\'scenarios\' : [' + json.dumps(scenario) + ']}\'' \
32 for scenario in deserialized_scenarios}
/external/caliper/caliper/src/main/java/com/google/caliper/model/
DTrial.java42 private Scenario scenario; field in Trial
49 this.scenario = Scenario.DEFAULT; in Trial()
57 this.scenario = builder.scenario; in Trial()
73 public Scenario scenario() { in scenario() method in Trial
74 return scenario; in scenario()
89 && this.scenario.equals(that.scenario) in equals()
97 return Objects.hashCode(id, run, instrumentSpec, scenario, measurements); in hashCode()
105 .add("scenario", scenario) in toString()
114 private Scenario scenario; field in Trial.Builder
139 public Builder scenario(Scenario.Builder scenarioBuilder) { in scenario() method in Trial.Builder
[all …]
/external/grpc-grpc/tools/run_tests/performance/
Dscenario_config.py55 def remove_nonproto_fields(scenario): argument
58 scenario.pop('CATEGORIES', None)
59 scenario.pop('CLIENT_LANGUAGE', None)
60 scenario.pop('SERVER_LANGUAGE', None)
61 scenario.pop('EXCLUDED_POLL_ENGINES', None)
62 return scenario
135 scenario = {
161 scenario['server_config']['resource_quota_size'] = resource_quota_size
165 scenario['server_config']['payload_config'] = _payload_type(
168 scenario['client_config']['payload_config'] = _payload_type(
[all …]
DREADME.md71 1. Get the 'scenario_json' relevant for the scenario to run. Note that "scenario
73 …river.cc) takes a list of these configs as a json string of the form: `{scenario: <json_list_of_sc…
76 …nce_tests.py](./run_performance_tests.py) locally and copying the logged scenario json command arg.
120 this to a high value, then the scenario config under test should
130 Each scenario in a scenario config has specifies a certain number
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_exit_scenarios.py170 if args.scenario == UNSTARTED_SERVER:
174 elif args.scenario == RUNNING_SERVER:
180 elif args.scenario == POLL_CONNECTIVITY_NO_SERVER:
189 elif args.scenario == POLL_CONNECTIVITY:
210 method = TEST_TO_METHOD[args.scenario]
212 if args.scenario == IN_FLIGHT_UNARY_UNARY_CALL:
216 elif (args.scenario == IN_FLIGHT_UNARY_STREAM_CALL or
217 args.scenario == IN_FLIGHT_PARTIAL_UNARY_STREAM_CALL):
222 elif (args.scenario == IN_FLIGHT_STREAM_UNARY_CALL or
223 args.scenario == IN_FLIGHT_PARTIAL_STREAM_UNARY_CALL):
[all …]
/external/libchrome/base/strings/
Dstring_util_unittest.cc626 for (const auto& scenario : cases) { in TEST() local
627 string16 str = ASCIIToUTF16(scenario.str); in TEST()
628 ReplaceSubstringsAfterOffset(&str, scenario.start_offset, in TEST()
629 ASCIIToUTF16(scenario.find_this), in TEST()
630 ASCIIToUTF16(scenario.replace_with)); in TEST()
631 EXPECT_EQ(ASCIIToUTF16(scenario.expected), str); in TEST()
635 for (const auto& scenario : cases) { in TEST() local
636 std::string str = scenario.str.as_string(); in TEST()
638 ReplaceSubstringsAfterOffset(&str, scenario.start_offset, in TEST()
639 scenario.find_this, scenario.replace_with); in TEST()
[all …]
/external/ltp/android/tools/
Dcompare_ltp_projects.py62 def scan_test_suites(ltp_root, scenario): argument
80 if scenario:
81 scenarioFile = ltp_root + os.path.sep + 'scenario_groups' + os.path.sep + scenario
96 def scan_ltp(ltp_root, scenario): argument
117 test_suites = scan_test_suites(ltp_root, scenario)
119 print ('No Testsuites found for scenario {}'.format(scenario))
196 ltp_tests1 = scan_ltp(args.ltp_root1, args.scenario)
197 ltp_tests2 = scan_ltp(args.ltp_root2, args.scenario)
/external/guava/guava-tests/test/com/google/common/collect/
DOrderingTest.java886 private static <T> void verifyScenario(Scenario<T> scenario, int level) {
887 scenario.testCompareTo();
888 scenario.testIsOrdered();
889 scenario.testMinAndMax();
890 scenario.testBinarySearch();
891 scenario.testSortedCopy();
895 verifyScenario(alteration.mutate(scenario), level + 1);
980 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
981 List<T> newList = Lists.newArrayList(scenario.strictlyOrderedList);
983 return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DOrderingTest.java852 private static <T> void verifyScenario(Scenario<T> scenario, int level) {
853 scenario.testCompareTo();
854 scenario.testIsOrdered();
855 scenario.testMinAndMax();
856 scenario.testBinarySearch();
857 scenario.testSortedCopy();
861 verifyScenario(alteration.mutate(scenario), level + 1);
946 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
947 List<T> newList = Lists.newArrayList(scenario.strictlyOrderedList);
949 return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
[all …]
/external/autotest/server/cros/cfm/configurable_test/
Dcfm_test.py8 def __init__(self, scenario, configuration=configuration.Configuration()): argument
16 self.scenario = scenario
21 % (self.scenario, self.configuration))
Dactions_unittest.py8 from autotest_lib.server.cros.cfm.configurable_test import scenario
111 scenarios = [scenario.Scenario(dummy_action1),
112 scenario.Scenario(dummy_action2)]
127 scenarios1 = [scenario.Scenario(scenario1_action1),
128 scenario.Scenario(scenario1_action2)]
131 scenarios2 = [scenario.Scenario(scenario2_action1),
132 scenario.Scenario(scenario2_action2)]
Dactions.py123 def __init__(self, times, scenario): argument
132 self.scenario = scenario
135 return 'Repeat[scenario=%s, times=%s]' % (self.scenario, self.times)
139 self.scenario.execute(context)
Dconfigurable_cfm_test_unittest.py18 scenario=Scenario(
33 scenario=Scenario(
/external/parameter-framework/upstream/tools/clientSimulator/
DREADME.md34 allows writing scenario, mixing criterion changes and arbitrary script
53 * `-s`, `--scenario` : precise the scenario number to launch
63 The script will wait for a choice and the desired scenario will be
64 launched. You can also directly select a scenario with -`s` option.
82 - The path to the directory containing the scenario files.
120 All scenario files need to be put in the directory mentioned by the
123 A scenario file contains all the actions you want to take. *Note*: it is an
147 This scenario file sets a criterion, then runs a script, then sets three
180 Here we define five new types based on `setCriterion`. When writing a scenario,
187 Here is the example scenario, rewritten using the above definitions:
[all …]
DpfClientSimulator.py36 from clientsimulator.scenario.Scenario import Scenario
203 if args.scenario is not None:
204 for elem in args.scenario:
206 if (args.scenario is None) or args.no_exit:
/external/grpc-grpc/tools/run_tests/
Drun_performance_tests.py418 scenario = Scenario(
425 scenarios.append(scenario)
653 for scenario in scenarios:
655 print(scenario.name)
659 for worker in scenario.workers:
661 jobs = [scenario.jobspec]
662 if scenario.workers:
665 scenario.workers,
677 scenario.workers, qpsworker_jobs)
681 for worker in scenario.workers:
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DConsoleOutput.java132 Scenario scenario = trial.scenario(); in processTrial() local
133 vmSpecs.add(scenario.vmSpec()); in processTrial()
134 benchmarkSpecs.add(scenario.benchmarkSpec()); in processTrial()
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DScenarioResult.php23 private $scenario = null; variable in Grpc\\Testing\\ScenarioResult
84 return $this->scenario;
97 $this->scenario = $var;
/external/grpc-grpc-java/benchmarks/src/main/proto/grpc/testing/
Dcontrol.proto179 // A single performance scenario: input to qps_json_driver
181 // Human readable name for this scenario
205 // once the scenario has finished.
240 // Results of a single benchmark scenario.
242 // Inputs used to run the scenario.
243 Scenario scenario = 1; field
/external/grpc-grpc/src/proto/grpc/testing/
Dcontrol.proto192 // A single performance scenario: input to qps_json_driver
194 // Human readable name for this scenario
218 // once the scenario has finished.
257 // Results of a single benchmark scenario.
259 // Inputs used to run the scenario.
260 Scenario scenario = 1; field
/external/autotest/server/site_tests/enterprise_CFM_ConfigurableCfmTestSanity/
Dcontrol.join_leave9 PURPOSE = "Verifies the configurable CfM test infra with a simple scenario"
22 scenario=Scenario(
/external/grpc-grpc/test/core/fling/
Dclient.cc137 } scenario; typedef
139 static const scenario scenarios[] = {
157 scenario sc = {nullptr, nullptr, nullptr}; in main()

123456789