/third_party/node/doc/api/ |
D | tracing.md | 12 Tracing can be enabled with the `--trace-event-categories` command-line flag 13 or by using the `trace_events` module. The `--trace-event-categories` flag 16 The available categories are: 39 By default the `node`, `node.async_hooks`, and `v8` categories are enabled. 42 node --trace-event-categories v8,node,node.async_hooks server.js 48 `node`, `node.async_hooks`, and `v8` trace event categories by default. 55 node --trace-event-categories v8,node,node.async_hooks 62 const tracing = trace_events.createTracing({ categories: ['node.perf'] }); 80 node --trace-event-categories v8 --trace-event-file-pattern '${pid}-${rotation}.log' server.js 101 categories. Instances are created using the `trace_events.createTracing()` [all …]
|
/third_party/node/lib/ |
D | trace_events.js | 34 constructor(categories) { argument 35 this[kHandle] = new CategorySet(categories); 36 this[kCategories] = categories; 66 get categories() { getter in Tracing 76 categories: this.categories property 86 if (!ArrayIsArray(options.categories)) { 88 options.categories); 91 if (options.categories.length <= 0) 94 return new Tracing(options.categories);
|
/third_party/node/src/ |
D | node_trace_events.cc | 49 std::set<std::string>&& categories) : in NodeCategorySet() argument 50 BaseObject(env, wrap), categories_(std::move(categories)) { in NodeCategorySet() 60 std::set<std::string> categories; in New() local 68 categories.emplace(*val); in New() 71 new NodeCategorySet(env, args.This(), std::move(categories)); in New() 78 const auto& categories = category_set->GetCategories(); in Enable() local 79 if (!category_set->enabled_ && !categories.empty()) { in Enable() 83 GetTracingAgentWriter()->Enable(categories); in Enable() 92 const auto& categories = category_set->GetCategories(); in Disable() local 93 if (category_set->enabled_ && !categories.empty()) { in Disable() [all …]
|
/third_party/node/src/inspector/ |
D | tracing_agent.cc | 148 protocol::Array<std::string>* categories = in start() local 150 for (size_t i = 0; i < categories->length(); i++) in start() 151 categories_set.insert(categories->get(i)); in start() 174 std::unique_ptr<protocol::Array<String>>* categories) { in getCategories() argument 175 *categories = Array<String>::create(); in getCategories() 176 categories->get()->addItem("node"); in getCategories() 177 categories->get()->addItem("node.async"); in getCategories() 178 categories->get()->addItem("node.bootstrap"); in getCategories() 179 categories->get()->addItem("node.fs.sync"); in getCategories() 180 categories->get()->addItem("node.perf"); in getCategories() [all …]
|
/third_party/node/src/tracing/ |
D | agent.cc | 105 const std::set<std::string>& categories, in AddClient() argument 110 const std::set<std::string>* use_categories = &categories; in AddClient() 114 categories_with_default.insert(categories.begin(), categories.end()); in AddClient() 165 void Agent::Enable(int id, const std::set<std::string>& categories) { in Enable() argument 166 if (categories.empty()) in Enable() 171 categories_[id].insert(categories.begin(), categories.end()); in Enable() 174 void Agent::Disable(int id, const std::set<std::string>& categories) { in Disable() argument 178 for (const std::string& category : categories) { in Disable() 196 std::string categories; in GetEnabledCategories() local 198 if (!categories.empty()) in GetEnabledCategories() [all …]
|
D | agent.h | 63 inline void Enable(const std::set<std::string>& categories); 64 inline void Disable(const std::set<std::string>& categories); 101 AgentWriterHandle AddClient(const std::set<std::string>& categories, 130 void Enable(int id, const std::set<std::string>& categories); 131 void Disable(int id, const std::set<std::string>& categories); 176 void AgentWriterHandle::Enable(const std::set<std::string>& categories) { in Enable() argument 177 if (agent_ != nullptr) agent_->Enable(id_, categories); in Enable() 180 void AgentWriterHandle::Disable(const std::set<std::string>& categories) { in Disable() argument 181 if (agent_ != nullptr) agent_->Disable(id_, categories); in Disable()
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
D | gl_procs.py | 122 categories = {} 127 if cat not in categories: 128 categories[cat] = [] 131 categories[cat].append(proto) 132 if categories: 136 keys = sorted(categories.keys()) 139 print("\n".join(categories[key]))
|
/third_party/node/test/parallel/ |
D | test-trace-events-api.js | 41 assert.throws(() => createTracing({ categories: i }), { property 48 () => createTracing({ categories: [] }), property 55 const tracing = createTracing({ categories: [ 'node.perf' ] }); property 57 assert.strictEqual(tracing.categories, 'node.perf'); 73 const tracing2 = createTracing({ categories: [ 'foo' ] }); property 102 let tracing3 = createTracing({ categories: [ 'abc' ] }); property 118 const tracing = createTracing({ categories: [ `a${n}` ] }); property
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RBBISetBuilder.java | 330 void mergeCategories(IntPair categories) { in mergeCategories() argument 331 assert(categories.first >= 1); in mergeCategories() 332 assert(categories.second > categories.first); in mergeCategories() 333 … assert((categories.first < fDictCategoriesStart && categories.second < fDictCategoriesStart) || in mergeCategories() 334 … (categories.first >= fDictCategoriesStart && categories.second >= fDictCategoriesStart)); in mergeCategories() 337 if (rangeNum == categories.second) { in mergeCategories() 338 rd.fNum = categories.first; in mergeCategories() 339 } else if (rangeNum > categories.second) { in mergeCategories() 344 if (categories.second <= fDictCategoriesStart) { in mergeCategories()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | rbbisetb.cpp | 294 void RBBISetBuilder::mergeCategories(IntPair categories) { in mergeCategories() argument 295 U_ASSERT(categories.first >= 1); in mergeCategories() 296 U_ASSERT(categories.second > categories.first); in mergeCategories() 297 …U_ASSERT((categories.first < fDictCategoriesStart && categories.second < fDictCategoriesStart) || in mergeCategories() 298 … (categories.first >= fDictCategoriesStart && categories.second >= fDictCategoriesStart)); in mergeCategories() 302 if (rangeNum == categories.second) { in mergeCategories() 303 rd->fNum = categories.first; in mergeCategories() 304 } else if (rangeNum > categories.second) { in mergeCategories() 309 if (categories.second <= fDictCategoriesStart) { in mergeCategories()
|
/third_party/node/deps/icu-small/source/common/ |
D | rbbisetb.cpp | 294 void RBBISetBuilder::mergeCategories(IntPair categories) { in mergeCategories() argument 295 U_ASSERT(categories.first >= 1); in mergeCategories() 296 U_ASSERT(categories.second > categories.first); in mergeCategories() 297 …U_ASSERT((categories.first < fDictCategoriesStart && categories.second < fDictCategoriesStart) || in mergeCategories() 298 … (categories.first >= fDictCategoriesStart && categories.second >= fDictCategoriesStart)); in mergeCategories() 302 if (rangeNum == categories.second) { in mergeCategories() 303 rd->fNum = categories.first; in mergeCategories() 304 } else if (rangeNum > categories.second) { in mergeCategories() 309 if (categories.second <= fDictCategoriesStart) { in mergeCategories()
|
/third_party/icu/icu4c/source/common/ |
D | rbbisetb.cpp | 294 void RBBISetBuilder::mergeCategories(IntPair categories) { in mergeCategories() argument 295 U_ASSERT(categories.first >= 1); in mergeCategories() 296 U_ASSERT(categories.second > categories.first); in mergeCategories() 297 …U_ASSERT((categories.first < fDictCategoriesStart && categories.second < fDictCategoriesStart) || in mergeCategories() 298 … (categories.first >= fDictCategoriesStart && categories.second >= fDictCategoriesStart)); in mergeCategories() 302 if (rangeNum == categories.second) { in mergeCategories() 303 rd->fNum = categories.first; in mergeCategories() 304 } else if (rangeNum > categories.second) { in mergeCategories() 309 if (categories.second <= fDictCategoriesStart) { in mergeCategories()
|
/third_party/mesa3d/src/panfrost/perf/ |
D | pan_gen_perf.py | 82 self.categories = [] 85 self.categories.append(Category(self, xml_cat)) 157 n_categories = len(prod.categories) 160 for category in prod.categories: 174 c.write(".n_categories = %u," % len(prod.categories)) 181 for i in range(0, len(prod.categories)): 182 category = prod.categories[i]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
D | UnitsData.java | 192 indexToCategory = sink.categories.toArray(new String[0]); 213 ArrayList<String> categories; field in UnitsData.CategoriesSink 217 categories = new ArrayList<>(); in CategoriesSink() 233 mapFromUnitToIndex.put(key.toString(), categories.size()); in put() 234 categories.add(value.toString()); in put()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsm8bitStorageTests.cpp | 2832 const Category categories[] = in addGraphics8BitStorageUniformInt32To8Group() local 2839 for (deUint32 catIdx = 0; catIdx < DE_LENGTH_OF_ARRAY(categories); ++catIdx) in addGraphics8BitStorageUniformInt32To8Group() 2843 …esUniform / static_cast<deUint32>(sizeof(deInt32))) * numDataPoints) / categories[catIdx].numEleme… in addGraphics8BitStorageUniformInt32To8Group() 2845 …if ( 0 != (arrayStrideInBytesUniform - static_cast<deUint32>(sizeof(deInt32)) * categories[catIdx]… in addGraphics8BitStorageUniformInt32To8Group() 2861 …string name = string(CAPABILITIES[UNIFORM_AND_STORAGEBUFFER_TEST].name) + "_" + categories[cat… in addGraphics8BitStorageUniformInt32To8Group() 2870 fragments["pre_main"] = categories[catIdx].preMain.specialize(specs); in addGraphics8BitStorageUniformInt32To8Group() 2871 fragments["testfun"] = categories[catIdx].testFunction.specialize(specs); in addGraphics8BitStorageUniformInt32To8Group() 2873 fragments["decoration"] = categories[catIdx].decoration.specialize(specs); in addGraphics8BitStorageUniformInt32To8Group() 3063 const Category categories[] = in addGraphics8BitStorageUniformInt8To32Group() local 3069 for (deUint32 catIdx = 0; catIdx < DE_LENGTH_OF_ARRAY(categories); ++catIdx) in addGraphics8BitStorageUniformInt8To32Group() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | RBBISetBuilder.java | 315 void mergeCategories(IntPair categories) { in mergeCategories() argument 316 assert(categories.first >= 1); in mergeCategories() 317 assert(categories.second > categories.first); in mergeCategories() 321 if (rangeNum == categories.second) { in mergeCategories() 322 rd.fNum = categories.first | rangeDict; in mergeCategories() 323 } else if (rangeNum > categories.second) { in mergeCategories()
|
/third_party/node/tools/ |
D | mkssldef.py | 7 categories = [] variable 19 elif option.startswith('-C'): categories += option[2:].split(',') 42 if not satisfy(meta[3], categories): continue
|
/third_party/python/Lib/ |
D | locale.py | 1693 categories = {} 1694 def _init_categories(categories=categories): argument 1697 categories[k] = v 1699 del categories['LC_ALL'] 1710 for name,category in categories.items(): 1721 for name,category in categories.items(): 1738 for name,category in categories.items():
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | rbbisetb.cpp | 273 void RBBISetBuilder::mergeCategories(IntPair categories) { in mergeCategories() argument 274 U_ASSERT(categories.first >= 1); in mergeCategories() 275 U_ASSERT(categories.second > categories.first); in mergeCategories() 279 if (rangeNum == categories.second) { in mergeCategories() 280 rd->fNum = categories.first | rangeDict; in mergeCategories() 281 } else if (rangeNum > categories.second) { in mergeCategories()
|
/third_party/mbedtls/scripts/ |
D | assemble_changelog.py | 211 categories = self.format.split_categories(text) 215 for category in categories: 217 category.name not in self.categories: 237 self.categories[category.name] += category.body 251 self.categories = OrderedDict() 253 self.categories[category] = '' 270 for title, body in self.categories.items():
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/gallery/ |
D | home.dart | 102 this.categories, 106 final Iterable<GalleryDemoCategory> categories; 112 final List<GalleryDemoCategory> categoriesList = categories.toList(); 118 label: 'categories', 121 key: const PageStorageKey<String>('categories'), 126 final int rowCount = (categories.length + columnCount - 1) ~/ columnCount; 137 ? categories.length - columnCount * math.max(0, rowCount - 1) 378 categories: kAllGalleryDemoCategories,
|
/third_party/skia/third_party/externals/icu/filters/ |
D | chromeos.json | 1250 "categories": [ 1292 "categories": [ 1311 "categories": [ 1320 "categories": [ 1334 "categories": [ 1359 "categories": [ 1515 "categories": [
|
/third_party/cef/libcef/browser/ |
D | trace_impl.cc | 12 bool CefBeginTracing(const CefString& categories, in CefBeginTracing() argument 28 return subscriber->BeginTracing(categories, callback); in CefBeginTracing()
|
/third_party/skia/tools/perf-canvaskit-puppeteer/ |
D | perf-canvaskit-with-puppeteer.js | 257 const categories = options.use_tracing.split(','); 258 console.log('Collecting tracing data for categories', categories); 262 categories: categories, property
|
/third_party/mesa3d/src/panfrost/ds/ |
D | pan_pps_driver.cc | 41 const struct panfrost_perf_category *cat = &cfg->categories[cat_id]; in find_id_within_group() 60 const auto &category = perf.perf->cfg->categories[gid]; in create_available_counters() 77 const auto counter = &perf->cfg->categories[c.group].counters[id_within_group]; in create_available_counters()
|