/aosp_15_r20/external/perfetto/test/trace_processor/diff_tests/metrics/android/ |
H A D | android_monitor_contention.out | 2 node { 4 ts: 1740012196981 40 node { 42 ts: 1737223735202 71 node { 73 ts: 1737221139743 102 node { 104 ts: 1739982673132 123 node { 125 ts: 1739942269308 [all …]
|
/aosp_15_r20/external/perfetto/src/trace_processor/perfetto_sql/stdlib/graphs/ |
H A D | critical_path.sql | 1 -- 2 -- Copyright 2024 The Android Open Source Project 3 -- 4 -- Licensed under the Apache License, Version 2.0 (the "License"); 5 -- you may not use this file except in compliance with the License. 6 -- You may obtain a copy of the License at 7 -- 8 -- https://www.apache.org/licenses/LICENSE-2.0 9 -- 10 -- Unless required by applicable law or agreed to in writing, software [all …]
|
/aosp_15_r20/external/libxaac/decoder/ |
H A D | ixheaacd_mps_dec.c | 9 * http://www.apache.org/licenses/LICENSE-2.0 96 self->num_parameter_sets = 1; in ixheaacd_mps_create() 97 self->qmf_band_count = 64; in ixheaacd_mps_create() 99 self->res_ch_count = 0; in ixheaacd_mps_create() 102 self->config = mps212_config; in ixheaacd_mps_create() 103 self->frame_length = bs_frame_len; in ixheaacd_mps_create() 104 self->in_ch_count = 1; in ixheaacd_mps_create() 105 self->out_ch_count = 2; in ixheaacd_mps_create() 106 self->residual_coding = residual_coding; in ixheaacd_mps_create() 107 if (self->residual_coding) { in ixheaacd_mps_create() [all …]
|
/aosp_15_r20/external/executorch/backends/arm/ |
H A D | process_node.py | 3 # This source code is licensed under the BSD-style license found in the 7 # pyre-unsafe 11 import serializer.tosa_serializer as ts namespace 31 node: torch.fx.Node, argument 32 tosa_graph: ts.TosaSerializer, 37 inputs = getNodeArgs(node) 39 # Convert output (this node itself) 40 output = TosaArg(node) 42 is_quant_node = is_node_quantized(node) 44 output_dtype = map_dtype(get_quantized_node_output_dtype(node)) [all …]
|
H A D | tosa_utils.py | 1 # Copyright 2023-2024 Arm Limited and/or its affiliates. 3 # This source code is licensed under the BSD-style license found in the 6 # pyre-unsafe 13 import serializer.tosa_serializer as ts namespace 24 from torch.fx import Node 34 def dbg_node(node): argument 35 # Debug output of node information 37 logger.info(f" op is {node.op}") 38 logger.info(f" name is {node.name}") 39 logger.info(f" node target is {node.target}") [all …]
|
H A D | tosa_quant_utils.py | 1 # Copyright 2023-2024 Arm Limited and/or its affiliates. 3 # This source code is licensed under the BSD-style license found in the 6 # pyre-unsafe 15 import serializer.tosa_serializer as ts namespace 21 from torch.fx import Node 61 def dequantize_value(self, qx: int) -> float: 62 return (qx - self.zp) * self.scale 74 return (qx - qargs.zp) * qargs.scale 77 def qargs_from_qnode(node: torch.fx.Node): argument 78 assert node.target in dq_q_ops, f"Op {node} is not a quant node." [all …]
|
H A D | tosa_mapping.py | 1 # Copyright 2023-2024 Arm Limited and/or its affiliates. 3 # This source code is licensed under the BSD-style license found in the 6 # pyre-unsafe 9 # PyTorch to Tosa mapping - simple mapping functions and multi-type extraction 14 import serializer.tosa_serializer as ts namespace 31 torch.float32: ts.DType.FP32, 32 torch.float: ts.DType.FP32, 33 torch.float16: ts.DType.FP16, 34 torch.half: ts.DType.FP16, 35 torch.bfloat16: ts.DType.BF16, [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/core/profiler/internal/ |
H A D | tfprof_timeline.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 45 int64_t tid, int64_t ts) { in CreateEvent() argument 52 event["ts"] = Json::Int64(ts); in CreateEvent() 67 void ChromeTraceFormatter::EmitRegion(int64_t ts, int64_t duration, int64_t pid, in EmitRegion() argument 70 Json::Value event = CreateEvent("X", category, name, pid, tid, ts); in EmitRegion() 76 void ChromeTraceFormatter::EmitFlowStart(const string& name, int64_t ts, in EmitFlowStart() argument 79 Json::Value event = CreateEvent("s", "DataFlow", name, pid, tid, ts); in EmitFlowStart() 84 void ChromeTraceFormatter::EmitFlowEnd(const string& name, int64_t ts, in EmitFlowEnd() argument 87 Json::Value event = CreateEvent("t", "DataFlow", name, pid, tid, ts); in EmitFlowEnd() 93 const string& category, const string& name, int64_t pid, int64_t ts, in EmitCounter() argument [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_graphlib.py | 9 def static_order_with_groups(ts): argument 10 ts.prepare() 11 while ts.is_active(): 12 nodes = ts.get_ready() 13 for node in nodes: 14 ts.done(node) 17 ts = graphlib.TopologicalSorter(graph) 18 self.assertEqual(list(static_order_with_groups(ts)), list(expected)) 20 ts = graphlib.TopologicalSorter(graph) 21 # need to be a bit careful comparing the result of ts.static_order and [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/graph/ |
D | dotgraph.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 30 Nodes map[*Node]*DotNodeAttributes // A map allowing each Node to have its own visualization option 33 // DotNodeAttributes contains Node specific visualization options. 35 Shape string // The optional shape of the node when rendered visually 36 Bold bool // If the node should be bold or not 37 Peripheries int // An optional number of borders to place around a node 38 URL string // An optional url link to add to a node 39 Formatter func(*NodeInfo) string // An optional formatter for the node's label 70 nodeIDMap := make(map[*Node]int) 71 hasNodelets := make(map[*Node]bool) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/ADT/ |
D | AllocatorList.h | 1 //===- llvm/ADT/AllocatorList.h - Custom allocator list ---------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 24 /// A linked-list with a custom, local allocator. 26 /// Expose a std::list-like interface that owns and uses a custom LLVM-style 34 struct Node : ilist_node<Node> { struct 35 Node(Node &&) = delete; 36 Node(const Node &) = delete; 37 Node &operator=(Node &&) = delete; argument 38 Node &operator=(const Node &) = delete; argument [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ADT/ |
H A D | AllocatorList.h | 1 //===- llvm/ADT/AllocatorList.h - Custom allocator list ---------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 24 /// A linked-list with a custom, local allocator. 26 /// Expose a std::list-like interface that owns and uses a custom LLVM-style 34 struct Node : ilist_node<Node> { struct 35 Node(Node &&) = delete; 36 Node(const Node &) = delete; 37 Node &operator=(Node &&) = delete; argument 38 Node &operator=(const Node &) = delete; argument [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/ADT/ |
D | AllocatorList.h | 1 //===- llvm/ADT/AllocatorList.h - Custom allocator list ---------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 24 /// A linked-list with a custom, local allocator. 26 /// Expose a std::list-like interface that owns and uses a custom LLVM-style 34 struct Node : ilist_node<Node> { struct 35 Node(Node &&) = delete; 36 Node(const Node &) = delete; 37 Node &operator=(Node &&) = delete; argument 38 Node &operator=(const Node &) = delete; argument [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/ADT/ |
D | AllocatorList.h | 1 //===- llvm/ADT/AllocatorList.h - Custom allocator list ---------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 24 /// A linked-list with a custom, local allocator. 26 /// Expose a std::list-like interface that owns and uses a custom LLVM-style 34 struct Node : ilist_node<Node> { struct 35 Node(Node &&) = delete; 36 Node(const Node &) = delete; 37 Node &operator=(Node &&) = delete; argument 38 Node &operator=(const Node &) = delete; argument [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/ADT/ |
D | AllocatorList.h | 1 //===- llvm/ADT/AllocatorList.h - Custom allocator list ---------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 24 /// A linked-list with a custom, local allocator. 26 /// Expose a std::list-like interface that owns and uses a custom LLVM-style 34 struct Node : ilist_node<Node> { struct 35 Node(Node &&) = delete; 36 Node(const Node &) = delete; 37 Node &operator=(Node &&) = delete; argument 38 Node &operator=(const Node &) = delete; argument [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | AllocatorList.h | 1 //===- llvm/ADT/AllocatorList.h - Custom allocator list ---------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 25 /// A linked-list with a custom, local allocator. 27 /// Expose a std::list-like interface that owns and uses a custom LLVM-style 35 struct Node : ilist_node<Node> { struct 36 Node(Node &&) = delete; 37 Node(const Node &) = delete; 38 Node &operator=(Node &&) = delete; argument 39 Node &operator=(const Node &) = delete; argument [all …]
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | graphlib.rst | 1 :mod:`graphlib` --- Functionality to operate with graph-like structures 5 :synopsis: Functionality to operate with graph-like structures 15 -------------- 23 for every directed edge u -> v from vertex u to vertex v, vertex u comes 33 are iterables of all predecessors of that node in the graph (the nodes that 46 process them. Call :meth:`~TopologicalSorter.done` on each node as it 56 >>> ts = TopologicalSorter(graph) 57 >>> tuple(ts.static_order()) 69 for node in topological_sorter.get_ready(): 72 task_queue.put(node) [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/uuid/src/ |
D | v1.rs | 3 //! This module is soft-deprecated. Instead of using the `Context` type re-exported here, 12 /// Create a new version 1 UUID using the current system time and node ID. 22 pub fn now_v1(node_id: &[u8; 6]) -> Self { in now_v1() 23 let ts = Timestamp::now(crate::timestamp::context::shared_context()); localVariable 25 Self::new_v1(ts, node_id) 28 /// Create a new version 1 UUID using the given timestamp and node ID. 37 /// 1. The *node ID* is unique for this process, 57 /// # fn random_seed() -> u16 { 42 } 59 /// let ts = Timestamp::from_unix(&context, 1497624119, 1234); 61 /// let uuid = Uuid::new_v1(ts, &[1, 2, 3, 4, 5, 6]); [all …]
|
D | v6.rs | 9 /// Create a new version 6 UUID using the current system time and node ID. 19 pub fn now_v6(node_id: &[u8; 6]) -> Self { in now_v6() 20 let ts = Timestamp::now(crate::timestamp::context::shared_context()); localVariable 22 Self::new_v6(ts, node_id) 25 /// Create a new version 6 UUID using the given timestamp and a node ID. 36 /// 1. The *node ID* is unique for this process, 57 /// # fn random_seed() -> u16 { 42 } 59 /// let ts = Timestamp::from_unix(context, 1497624119, 1234); 61 /// let uuid = Uuid::new_v6(ts, &[1, 2, 3, 4, 5, 6]); 65 /// "1e752a1f-3b49-658c-802a-010203040506" [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/jit/ |
H A D | node_matchers.h | 7 http://www.apache.org/licenses/LICENSE-2.0 20 // tensorflow::Node* node = ...; 21 // EXPECT_THAT(node, NodeWith(Name("name"), Op("op"), 24 // Matchable node properties (the expressions that go inside NodeWith(...)) 27 // - Name(string): matches the node name exactly. We will probably need to 30 // - Op(string): matches the op exactly. 32 // - AssignedDevice(string): matches the assigned device exactly. 34 // - Inputs(<ordered list>): matches the list of non-control inputs to the node 36 // matches an output of a node (see Out(idx, node) below). 38 // - CtrlDeps(<unordered list>): matches the list of control dependences on the [all …]
|
/aosp_15_r20/external/perfetto/src/trace_processor/perfetto_sql/stdlib/sched/ |
H A D | thread_executing_span.sql | 1 -- 2 -- Copyright 2023 The Android Open Source Project 3 -- 4 -- Licensed under the Apache License, Version 2.0 (the "License"); 5 -- you may not use this file except in compliance with the License. 6 -- You may obtain a copy of the License at 7 -- 8 -- https://www.apache.org/licenses/LICENSE-2.0 9 -- 10 -- Unless required by applicable law or agreed to in writing, software [all …]
|
/aosp_15_r20/external/selinux/libsepol/src/ |
H A D | module_to_cil.c | 20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 133 rc = -1; in get_line() 192 struct list_node *curr = (*list)->head; in list_destroy() 196 tmp = curr->next; in list_destroy() 212 curr = role_list->head; in role_list_destroy() 215 free(curr->data); in role_list_destroy() 216 curr->data = NULL; in role_list_destroy() 217 curr = curr->next; in role_list_destroy() 232 curr = (*attr_list)->head; in attr_list_destroy() 235 attr = curr->data; in attr_list_destroy() [all …]
|
/aosp_15_r20/external/libdav1d/src/ |
H A D | decode.c | 2 * Copyright © 2018-2021, VideoLAN and dav1d authors 58 for (int i = 0; i < (frame_hdr->segmentation.enabled ? 8 : 1); i++) { in init_quant_tables() 59 const int yac = frame_hdr->segmentation.enabled ? in init_quant_tables() 60 iclip_u8(qidx + frame_hdr->segmentation.seg_data.d[i].delta_q) : qidx; in init_quant_tables() 61 const int ydc = iclip_u8(yac + frame_hdr->quant.ydc_delta); in init_quant_tables() 62 const int uac = iclip_u8(yac + frame_hdr->quant.uac_delta); in init_quant_tables() 63 const int udc = iclip_u8(yac + frame_hdr->quant.udc_delta); in init_quant_tables() 64 const int vac = iclip_u8(yac + frame_hdr->quant.vac_delta); in init_quant_tables() 65 const int vdc = iclip_u8(yac + frame_hdr->quant.vdc_delta); in init_quant_tables() 67 dq[i][0][0] = dav1d_dq_tbl[seq_hdr->hbd][ydc][0]; in init_quant_tables() [all …]
|
/aosp_15_r20/external/perfetto/docs/contributing/ |
H A D | ui-plugins.md | 12 Started](./getting-started) guide for more detail. 17 ./tools/install-build-deps --ui 22 cp -r ui/src/plugins/com.example.Skeleton ui/src/plugins/<your-plugin-name> 24 Now edit `ui/src/plugins/<your-plugin-name>/index.ts`. Search for all instances 28 - Don't name the directory `XyzPlugin` just `Xyz`. 29 - The `pluginId` and directory name must match. 30 - Plugins should be prefixed with the reversed components of a domain name you 33 - Core plugins maintained by the Perfetto team should use `dev.perfetto.Foo`. 34 - Commands should have ids with the pattern `example.com#DoSomething` 35 - Command's ids should be prefixed with the id of the plugin which provides [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/core/common_runtime/ |
H A D | constant_folding.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 53 bool IsShapeOp(const Node* n) { in IsShapeOp() 54 const auto& ts = n->type_string(); in IsShapeOp() local 55 return ts == "Shape" || ts == "ShapeN" || ts == "Rank" || ts == "Size"; in IsShapeOp() 58 // Reads the partially-known shape of each of n's inputs from shape_map, and 62 const Node* n, in ReadPartialShapesFromShapeMap() 67 input_shapes->resize(n->num_inputs()); in ReadPartialShapesFromShapeMap() 68 for (const Edge* in : n->in_edges()) { in ReadPartialShapesFromShapeMap() 70 if (in->IsControlEdge()) continue; in ReadPartialShapesFromShapeMap() 71 const auto known_shape_iter = shape_map->find(in->src()->name()); in ReadPartialShapesFromShapeMap() [all …]
|