Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/net/prometheus/
Dcollector.h54 sys_slist_t metrics; member
79 .metrics = SYS_SLIST_STATIC_INIT(&_name.metrics), \
/Zephyr-latest/scripts/footprint/
Dcompare_footprint230 metrics = {}
233 metrics[type] = {}
239 if not row["test"] in metrics[type]:
240 metrics[type][row["test"]] = {}
241 metrics[type][row["test"]][row["platform"]] = d
243 for test, platforms in metrics['current'].items():
244 if not test in metrics['base']:
249 if not platform in metrics['base'][test]:
251 golden_metric = metrics['base'][test][platform]
/Zephyr-latest/samples/net/prometheus/
DREADME.rst12 By integrating this library into your code, you can expose internal metrics
14 scrape and collect the metrics.
37 - Using a browser: ``http://192.0.2.1/metrics``
82 ``'your_server_port'`` with the port number where your server exposes Prometheus metrics.
87 Once restarted, Prometheus will start scraping metrics from your server according
88 to the defined scrape configuration. You can verify that your server's metrics are
90 metrics from your server.
/Zephyr-latest/subsys/net/lib/prometheus/
Dcollector.c39 (void)sys_slist_find_and_remove(&collector->metrics, &metric->node); in prometheus_collector_register_metric()
41 sys_slist_prepend(&collector->metrics, &metric->node); in prometheus_collector_register_metric()
126 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&collector->metrics, metric, tmp, node) { in prometheus_collector_get_metric()
182 &ctx->collector->metrics, in prometheus_collector_walk_metrics()
Dformatter.c258 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&collector->metrics, metric, tmp, node) { in prometheus_format_exposition()
/Zephyr-latest/subsys/bluetooth/host/shell/
Dl2cap.c61 static bool metrics; variable
102 if (metrics) { in l2cap_recv()
156 if (!metrics) { in l2cap_alloc_buf()
483 metrics = true; in cmd_metrics()
485 metrics = false; in cmd_metrics()
537 SHELL_CMD_ARG(metrics, NULL, "<value on, off>", cmd_metrics, 2, 0),
Dgatt.c1322 SHELL_CMD_ARG(metrics, NULL, "[value: on, off]", cmd_metrics, 1, 1),
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dreports.py336 handler_time = instance.metrics.get('handler_time', 0)
337 used_ram = instance.metrics.get ("used_ram", 0)
338 used_rom = instance.metrics.get("used_rom",0)
339 available_ram = instance.metrics.get("available_ram", 0)
340 available_rom = instance.metrics.get("available_rom", 0)
514 if metric not in instance.metrics:
518 delta = instance.metrics.get(metric, 0) - mtype(sm[metric])
521 results.append((instance, metric, instance.metrics.get(metric, 0), delta,
632 elif not ignore_unrecognized_sections and instance.metrics.get("unrecognized"):
641 handler_time = instance.metrics.get('handler_time', 0)
Drunner.py1732 instance.metrics["used_ram"] = 0
1733 instance.metrics["used_rom"] = 0
1734 instance.metrics["available_rom"] = 0
1735 instance.metrics["available_ram"] = 0
1736 instance.metrics["unrecognized"] = []
1748 instance.metrics["used_ram"] = size_calc.get_used_ram()
1749 instance.metrics["used_rom"] = size_calc.get_used_rom()
1750 instance.metrics["available_rom"] = size_calc.get_available_rom()
1751 instance.metrics["available_ram"] = size_calc.get_available_ram()
1752 instance.metrics["unrecognized"] = size_calc.unrecognized_sections()
[all …]
Dtestplan.py717 instance.metrics['handler_time'] = ts.get('execution_time', 0)
718 instance.metrics['used_ram'] = ts.get("used_ram", 0)
719 instance.metrics['used_rom'] = ts.get("used_rom",0)
720 instance.metrics['available_ram'] = ts.get('available_ram', 0)
721 instance.metrics['available_rom'] = ts.get('available_rom', 0)
Dtestinstance.py59 self.metrics = dict()
/Zephyr-latest/cmake/sca/eclair/ECL/
Danalysis_HIS.ecl9 # Enable the desired metrics.
/Zephyr-latest/scripts/tests/twister/
Dtest_runner.py2386 instance_mock.metrics = {}
2401 assert instance_mock.metrics['used_ram'] == 0
2402 assert instance_mock.metrics['used_rom'] == 0
2403 assert instance_mock.metrics['available_rom'] == 0
2404 assert instance_mock.metrics['available_ram'] == 0
2405 assert instance_mock.metrics['unrecognized'] == []
2436 instance_mock.metrics = {}
2449 assert instance_mock.metrics['used_ram'] == \
2451 assert instance_mock.metrics['used_rom'] == \
2453 assert instance_mock.metrics['available_rom'] == \
[all …]
Dtest_testplan.py1706 assert expected_instances[n]['metrics'] == i.metrics
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Dtrain.py127 metrics=["accuracy"])
Dtrain_magic_wand_model.ipynb193 …ss. Training will take around 5 minutes on a GPU runtime. You'll see the metrics in TensorBoard af…
/Zephyr-latest/cmake/sca/eclair/
Dsca.cmake67 list(APPEND ECLAIR_REPORT_ADDITIONAL_OPTIONS "-metrics_tab=${ECLAIR_OUTPUT_DIR}/metrics")
/Zephyr-latest/doc/develop/sca/
Declair.rst10 computation of software metrics, to the checking of independence and
/Zephyr-latest/doc/safety/
Dsafety_overview.rst171 requirements apply to safety for test coverage, and various metrics must be considered, which are
/Zephyr-latest/doc/develop/test/
Dtwister.rst624 regex: "RECORD:(?P<type>.*):DATA:(?P<metrics>.*)"
625 as_json: [metrics]
640 "metrics":{
/Zephyr-latest/scripts/kconfig/
Dguiconfig.py383 .metrics("linespace") + 2
/Zephyr-latest/doc/releases/
Drelease-notes-4.0.rst43 A `Prometheus`_ metrics library has been added to the networking stack. It provides a way to
44 expose metrics to Prometheus clients over HTTP, facilitating the consolidated remote monitoring of
Drelease-notes-3.1.rst316 (e.g. fairness or interactivity metrics, budget tracking) that are
/Zephyr-latest/doc/security/
Dsecurity-overview.rst401 process and metrics such as cyclomatic complexity shall be
/Zephyr-latest/samples/modules/tflite-micro/hello_world/train/
Dtrain_hello_world_model.ipynb404 "model_1.compile(optimizer='adam', loss='mse', metrics=['mae'])"
1740 "model.compile(optimizer='adam', loss=\"mse\", metrics=[\"mae\"])"
2897 …e metrics for validation are better than those for training is that validation metrics are calcula…
2957 …"Much better! The evaluation metrics we printed show that the model has a low loss and MAE on the …