Searched refs:atom (Results 1 – 6 of 6) sorted by relevance
/trusty/host/common/scripts/metrics_atoms_protoc_plugin/templates_package/templates/ |
D | metrics_atoms.c.j2 | 27 {% for atom in env.atoms %} 28 int stats_{{atom.c_name}}_report(const char* port_name, size_t port_name_len, struct stats_{{atom.c… 36 if ((rc = stats_vendor_atom_set_atom_id(vendor_atom, {{atom.atom_id}})) != NO_ERROR) { 40 {{atom.c_name}}.reverse_domain_name, 41 {{atom.c_name}}.reverse_domain_name_len)) != NO_ERROR) { 44 {% for value in atom.values %} 45 …if ((rc = stats_vendor_atom_{{value.stats_setter_name}}(vendor_atom, {{value.idx}}, {{atom.c_name}… 47 , {{atom.c_name}}.{{value.c_name}}_len 53 /* report vendor atom */
|
D | metrics_atoms.h.j2 | 37 {% for atom in env.atoms %} 38 struct stats_{{atom.c_name}} { 41 {% for value in atom.values %} 51 {% for atom in env.atoms %} 52 int stats_{{atom.c_name}}_report(const char* port_name, size_t port_name_len, struct stats_{{atom.c…
|
/trusty/user/app/storage/ |
D | error_reporting.c | 68 struct metrics_report_storage_error_req atom = { in do_error_report() local 82 memcpy(storage_service_uuid_str, atom.app_id, UUID_STR_SIZE); in do_error_report() 90 .iov_base = &atom, in do_error_report() 91 .iov_len = sizeof(atom), in do_error_report() 99 size_t total_len = sizeof(req) + sizeof(atom); in do_error_report()
|
/trusty/user/app/sample/stats-test/ |
D | README.md | 37 test->>+relayer: IStats:recordVendorAtom(atom) 46 relayer->>relayer: atom = stored IStats object 48 relayer->>+consumer: IStats:recordVendorAtom(atom) 49 consumer ->> consumer: write atom to shared mem 54 test ->> test: verify shared mem == atom 85 test->>consumer: fork thread and share atom buffer 88 relayer->>relayer: atom = store IStats object 93 port_test->>port_test: create an atom from canned data 95 port_test->>+relayer: IStats:recordVendorAtom(atom) 97 relayer->>+consumer: IStats:recordVendorAtom(atom) [all …]
|
/trusty/host/common/scripts/metrics_atoms_protoc_plugin/ |
D | metrics_atoms_protoc_plugin.py | 264 atom: DescriptorProto): 274 for f in atom.field 322 atom = [msg for msg in msg_list if msg.name == "Atom"][0] 336 assert_reverse_domain_name_field(msg_dict, atom) 339 for field in atom.field
|
/trusty/user/app/sample/stats-test/relayer/ |
D | relayer.cpp | 83 for (const VendorAtom& atom : pending) { in setInterface() local 84 auto rc = istats->reportVendorAtom(atom); in setInterface()
|