| /external/linux-kselftest/tools/testing/selftests/drivers/net/netdevsim/ |
| D | hw_stats_l3.sh | 2 # SPDX-License-Identifier: GPL-2.0 56 while [ ! -d $(SYSFS_NET_DIR $n) ] ; do :; done 66 if [ $? -ne 0 ]; then 87 local ifindex=$($IP -j link show dev $netdev | jq '.[].ifindex') 116 if [ $? -ne 0 ]; then 125 IP="ip -n testns1" 129 DUMMY_IFINDEX=$($IP -j link show dev dummy1 | jq '.[].ifindex') 141 modprobe -r netdevsim &> /dev/null 149 $IP -j stats show dev "$netdev" group offload subgroup hw_stats_info | 174 $IP -j stats show dev "$netdev" group offload subgroup hw_stats_info | [all …]
|
| D | devlink_trap.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # This test is for checking devlink-trap functionality. It makes use of 40 if [ ! -d "$NETDEVSIM_PATH" ]; then 45 if [ -d "${NETDEVSIM_PATH}/devices/netdevsim${DEV_ADDR}" ]; then 54 test $(devlink_traps_num_get) -ne 0 69 # The action of non-drop traps cannot be changed. 126 check_fail $? "Did not get an error for non-existing trap" 128 log_test "Non-existing trap" 143 check_fail $? "Did not get an error for non-existing trap action" 145 log_test "Non-existing trap action" [all …]
|
| /external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
| D | devlink_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Kselftest framework requirement - SKIP code is 4. 10 if [[ ! -v DEVLINK_DEV ]]; then 11 DEVLINK_DEV=$(devlink port show "${NETIFS[p1]:-$NETIF_NO_CABLE}" -j \ 12 | jq -r '.port | keys[]' | cut -d/ -f-2) 13 if [ -z "$DEVLINK_DEV" ]; then 17 if [[ "$(echo $DEVLINK_DEV | grep -c pci)" -eq 0 ]]; then 22 DEVLINK_VIDDID=$(lspci -s $(echo $DEVLINK_DEV | cut -d"/" -f2) \ 23 -n | cut -d" " -f3) 24 elif [[ ! -z "$DEVLINK_DEV" ]]; then [all …]
|
| D | lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # Kselftest framework requirement - SKIP code is 4. 39 if [[ -f $relative_path/forwarding.config ]]; then 48 tc -j &> /dev/null 49 if [[ $? -ne 0 ]]; then 62 if [[ $? -ne 0 ]]; then 80 if [[ $? -ne 0 ]]; then 81 echo "SKIP: iproute2 too old; tc-flower is missing extended MPLS support" 85 tc -j filter show dev $dev ingress protocol mpls_uc | jq . &> /dev/null 90 if [[ $ret -ne 0 ]]; then [all …]
|
| /external/libvpx/vp9/ |
| D | simple_encode.h | 4 * Use of this source code is governed by a BSD-style license 44 kRefFrameTypeNone = -1, 110 // Accumulated tpl stats of all blocks in one frame. 111 // For each frame, the tpl stats are computed per 32x32 block. 132 // When the reference frame type is not valid, it means either the to-be-coded 149 // Each show or no show frame is assigned with a coding index based on its 213 // End of block (the position of the last non-zero transform coefficient) 281 // if the 4x4 block is the top-left block in the partition. Otherwise, they 303 // A vector of the tpl stats information. 304 // The tpl stats measure the complexity of a frame, as well as the [all …]
|
| /external/libchrome/dbus/ |
| D | dbus_statistics.cc | 2 // Use of this source code is governed by a BSD-style license that can be 39 //------------------------------------------------------------------------------ 74 ++stat->sent_method_calls; in AddStat() 76 ++stat->received_signals; in AddStat() 78 ++stat->sent_blocking_method_calls; in AddStat() 94 return &(it->second); in GetStats() 102 StatMap& stats() { return stats_; } in stats() function in dbus::__anon5ca70cb20111::DBusStatistics 117 //------------------------------------------------------------------------------ 137 g_dbus_statistics->AddStat( in AddSentMethodCall() 146 g_dbus_statistics->AddStat( in AddReceivedSignal() [all …]
|
| /external/tensorflow/tensorflow/compiler/aot/ |
| D | benchmark.h | 7 http://www.apache.org/licenses/LICENSE-2.0 16 // Contains benchmark functions used with the code-generated benchmarks that can 20 // This is separate from the built-in micro-benchmarks, because we want to: 21 // 1. show a binary with minimal dependencies, to show a close-to-lower-bound 47 // Stats holds statistics collected during benchmarking. 48 struct Stats { struct 49 std::vector<int64_t> per_iter_us; // Per-iteration deltas in us. 52 Stats() : total_us(0) { per_iter_us.reserve(5000); } in Stats() argument 55 // DumpStatsToStdout printfs to stdout stats in a multi-line human-friendly 57 void DumpStatsToStdout(const Stats& stats); [all …]
|
| /external/openthread/src/core/diags/ |
| D | README.md | 9 - [diag](#diag) 10 - [diag start](#diag-start) 11 - [diag channel](#diag-channel) 12 - [diag cw](#diag-cw-start) 13 - [diag stream](#diag-stream-start) 14 - [diag power](#diag-power) 15 - [diag powersettings](#diag-powersettings) 16 - [diag send](#diag-send-packets-length) 17 - [diag repeat](#diag-repeat-delay-length) 18 - [diag radio](#diag-radio-sleep) [all …]
|
| /external/erofs-utils/dump/ |
| D | main.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2021-2022 HUAWEI, Inc. 35 static const char chart_format[] = "%-16s %-11d %8.2f%% |%-50s|\n"; 36 static const char header_format[] = "%-16s %11s %16s |%-50s|\n"; 65 /* [statistics] # of files based on inode_info->flags */ 74 static struct erofs_statistics stats; variable 112 " -S show statistic information of the image\n" in usage() 113 " -V print the version number of dump.erofs and exit.\n" in usage() 114 " -e show extent info (INODE required)\n" in usage() 115 " -s show information about superblock\n" in usage() [all …]
|
| /external/bcc/tools/ |
| D | virtiostat.py | 2 # @lint-avoid-python-3-compatibility-imports 4 # virtiostat Show virtio devices input/output statistics. 7 # USAGE: virtiostat [-h] [-T] [-D] [-d DRIVER] [-n DEVNAME] [INTERVAL] [COUNT] 12 # 13-Feb-2021 zhenwei pi Created this. 23 ./virtiostat -T # show timestamps 24 ./virtiostat -d virtio_blk # only show virtio block devices 25 ./virtiostat -n virtio0 # only show virtio0 device 26 ./virtiostat -D # show debug bpf text 29 description="Show virtio devices input/output statistics", 36 parser.add_argument("-T", "--timestamp", action="store_true", [all …]
|
| /external/scapy/scapy/ |
| D | plist.py | 31 __slots__ = ["stats", "res", "listname"] 32 def __init__(self, res=None, name="PacketList", stats=None): argument 35 stats: a list of classes that will appear in the stats (defaults to [TCP,UDP,ICMP])""" 36 if stats is None: 37 stats = conf.stats_classic_protocols 38 self.stats = stats 54 stats = {x: 0 for x in self.stats} 58 for p in stats: 60 stats[p] += 1 67 for p in self.stats: [all …]
|
| /external/iproute2/man/man8/ |
| D | ifstat.8 | 3 ifstat \- handy utility to read network interface statistics 18 location for xstat (extended stats) is /tmp/.<xstat name>_ifstat.u$UID. 21 .B \-h, \-\-help 22 Show summary of options. 24 .B \-V, \-\-version 25 Show version of program. 27 .B \-a, \-\-ignore 30 .B \-d, \-\-scan=SECS 33 .B \-e, \-\-errors 34 Show errors. [all …]
|
| /external/iproute2/tipc/ |
| D | link.c | 57 fprintf(stderr, "Usage: %s link list\n", cmdl->argv[0]); in cmd_link_list() 58 return -EINVAL; in cmd_link_list() 64 return -1; in cmd_link_list() 106 if (strcmp(cmd->cmd, "priority") == 0) in cmd_link_get_prop() 108 else if ((strcmp(cmd->cmd, "tolerance") == 0)) in cmd_link_get_prop() 110 else if ((strcmp(cmd->cmd, "window") == 0)) in cmd_link_get_prop() 113 return -EINVAL; in cmd_link_get_prop() 116 (cmd->help)(cmdl); in cmd_link_get_prop() 117 return -EINVAL; in cmd_link_get_prop() 121 return -EINVAL; in cmd_link_get_prop() [all …]
|
| /external/libnl/src/ |
| D | nl-class-list.c | 1 /* SPDX-License-Identifier: LGPL-2.1-only */ 6 #include "nl-default.h" 24 "Usage: nl-class-list [OPTION]...\n" in print_usage() 27 " --details Show details\n" in print_usage() 28 " --stats Show statistics\n" in print_usage() 29 " -h, --help Show this help\n" in print_usage() 30 " -v, --version Show versioning information\n" in print_usage() 32 " -d, --dev=DEV Device the class is attached to. (default: all)\n" in print_usage() 33 " -p, --parent=ID Identifier of parent class.\n" in print_usage() 34 " -i, --id=ID Identifier.\n" in print_usage() [all …]
|
| D | nl-cls-list.c | 1 /* SPDX-License-Identifier: LGPL-2.1-only */ 3 * Copyright (c) 2008-2010 Thomas Graf <tgraf@suug.ch> 6 #include "nl-default.h" 24 "Usage: nl-cls-list [OPTION]...\n" in print_usage() 27 " --details Show details\n" in print_usage() 28 " --stats Show statistics\n" in print_usage() 29 " -h, --help Show this help\n" in print_usage() 30 " -v, --version Show versioning information\n" in print_usage() 32 " -d, --dev=DEV Device the classifier is attached to. (default: all)\n" in print_usage() 33 " -p, --parent=ID Identifier of parent class.\n" in print_usage() [all …]
|
| D | idiag-socket-details.c | 1 /* SPDX-License-Identifier: LGPL-2.1-only */ 6 #include "nl-default.h" 17 "Usage: idiag-socket-details [OPTION]\n" in print_usage() 20 " --summary Show socket detail summary.\n" in print_usage() 21 " --details Show socket details on multiple lines.\n" in print_usage() 22 " --stats Show full socket statistics.\n" in print_usage() 23 " -h, --help Show this help.\n" in print_usage() 24 " -v, --version Show versioning information.\n" in print_usage() 53 { "stats", 0, 0, ARG_STATS}, in main() 60 if (c == -1) in main()
|
| /external/linux-kselftest/tools/testing/selftests/drivers/net/dsa/ |
| D | lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # Kselftest framework requirement - SKIP code is 4. 39 if [[ -f $relative_path/forwarding.config ]]; then 48 tc -j &> /dev/null 49 if [[ $? -ne 0 ]]; then 62 if [[ $? -ne 0 ]]; then 80 if [[ $? -ne 0 ]]; then 81 echo "SKIP: iproute2 too old; tc-flower is missing extended MPLS support" 85 tc -j filter show dev $dev ingress protocol mpls_uc | jq . &> /dev/null 90 if [[ $ret -ne 0 ]]; then [all …]
|
| /external/linux-kselftest/tools/testing/selftests/drivers/net/bonding/ |
| D | net_forwarding_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # Kselftest framework requirement - SKIP code is 4. 39 if [[ -f $relative_path/forwarding.config ]]; then 48 tc -j &> /dev/null 49 if [[ $? -ne 0 ]]; then 62 if [[ $? -ne 0 ]]; then 80 if [[ $? -ne 0 ]]; then 81 echo "SKIP: iproute2 too old; tc-flower is missing extended MPLS support" 85 tc -j filter show dev $dev ingress protocol mpls_uc | jq . &> /dev/null 90 if [[ $ret -ne 0 ]]; then [all …]
|
| /external/linux-kselftest/tools/testing/selftests/drivers/net/team/ |
| D | net_forwarding_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # Kselftest framework requirement - SKIP code is 4. 39 if [[ -f $relative_path/forwarding.config ]]; then 48 tc -j &> /dev/null 49 if [[ $? -ne 0 ]]; then 62 if [[ $? -ne 0 ]]; then 80 if [[ $? -ne 0 ]]; then 81 echo "SKIP: iproute2 too old; tc-flower is missing extended MPLS support" 85 tc -j filter show dev $dev ingress protocol mpls_uc | jq . &> /dev/null 90 if [[ $ret -ne 0 ]]; then [all …]
|
| /external/tensorflow/tensorflow/python/client/ |
| D | timeline.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 43 """Stores the step stats analysis output. 65 https://github.com/catapult-project/catapult/blob/master/tracing/README.md 68 ph: The type of event - usually a single character. 127 args: A JSON-compatible dictionary of event arguments. 175 snapshot: A JSON-compatible representation of the object. 249 pretty: (Optional.) If True, produce human-readable JSON output. 252 A JSON-formatted string in Chrome Trace format. 364 self._device_pids = {} # device name -> pid for compute activity. 365 self._tensor_pids = {} # device name -> pid for tensors. [all …]
|
| /external/clang/docs/analyzer/ |
| D | DebugChecks.rst | 9 them by using the "-analyzer-checker=" flag, followed by the name of the 20 - debug.DumpCallGraph, debug.ViewCallGraph: Show the call graph generated for 24 - debug.DumpCFG, debug.ViewCFG: Show the CFG generated for each top-level 27 - debug.DumpDominators: Shows the dominance tree for the CFG of each top-level 30 - debug.DumpLiveVars: Show the results of live variable analysis for each 31 top-level function being analyzed. 33 - debug.ViewExplodedGraph: Show the Exploded Graphs generated for the 43 - debug.DumpCalls: Prints out every function or method call encountered during a 44 path traversal. This is indented to show the call stack, but does NOT do any 48 - debug.DumpTraversal: Prints the name of each branch statement encountered [all …]
|
| /external/libvpx/vp9/encoder/ |
| D | vp9_firstpass.h | 4 * Use of this source code is governed by a BSD-style license 25 #define INVALID_ROW (-1) 69 USE_BUF_FRAME = 6, // Use show existing frame, no ref buffer update 103 const FIRSTPASS_STATS *stats; member 108 const FIRSTPASS_STATS *stats, in fps_init_first_pass_info() argument 110 first_pass_info->stats = stats; in fps_init_first_pass_info() 111 first_pass_info->num_frames = num_frames; in fps_init_first_pass_info() 115 return first_pass_info->num_frames; in fps_get_num_frames() 120 if (show_idx < 0 || show_idx >= first_pass_info->num_frames) { in fps_get_frame_stats() 123 return &first_pass_info->stats[show_idx]; in fps_get_frame_stats() [all …]
|
| /external/tensorflow/tensorflow/tools/benchmark/ |
| D | benchmark_model.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 58 TF_RETURN_IF_ERROR(session->Run({}, {}, {init_op}, nullptr)); in InitializeVariables() 66 auto type_tensor = input_tensor->flat<T>(); in InitializeTensor() 117 input_tensors->push_back({input.name, input_tensor}); in CreateTensorsFromInputInfo() 143 session->Run(input_tensors, output_tensor_names, {}, &output_tensors)); in GetOutputShapes() 222 double throughput = -1.0) { in RecordBenchmarkEntry() 232 node_reporter.Benchmark(num_runs, -1.0, total_time_s, throughput)); in RecordBenchmarkEntry() 241 Env::Default()->SleepForMicroseconds(sleep_seconds * 1000 * 1000); in SleepSeconds() 246 req.tv_nsec = (sleep_seconds - req.tv_sec) * 1000000000; in SleepSeconds() 266 session->reset(tensorflow::NewSession(options)); in InitializeSession() [all …]
|
| /external/testng/src/main/java/org/testng/reporters/jq/ |
| D | NavigatorPanel.java | 25 main.push(D, C, "navigator-root"); in generate() 26 main.push(D, C, "navigator-suite-header"); in generate() 28 main.push("a", C, "collapse-all-link", "href", "#", "title", "Collapse/expand all the suites"); in generate() 29 main.push("img", "src", "collapseall.gif", C, "collapse-all-icon"); in generate() 38 String suiteName = "suite-" + suiteToTag(suite); in generate() 55 header.push(D, C, "rounded-window"); in generate() 58 header.push(D, C, "suite-header light-rounded-window-top"); in generate() 60 "panel-name", suiteName, in generate() 61 C, "navigator-link"); in generate() 63 C, "suite-name border-" + getModel().getStatusForSuite(suite.getName())); in generate() [all …]
|
| /external/libvpx/vpx/ |
| D | vpx_ext_ratectrl.h | 4 * Use of this source code is governed by a BSD-style license 37 * rate-distortion multiplier (rdmult) for the current frame. 71 #define VPX_DEFAULT_Q -1 78 #define VPX_DEFAULT_RDMULT -1 88 * If max_frame_size = -1, the encoding uses VP9's max frame size as the limit. 154 /*!\brief First pass frame stats 160 * Frame number in display order, if stats are for a single frame. 191 * Percentage of blocks using (inter prediction and) non-zero motion vectors. 208 * - bit_depth 8: LOW_I_THRESH = 24000 209 * - bit_depth 10: LOW_I_THRESH = 24000 << 4 [all …]
|