Home
last modified time | relevance | path

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

12345

/linux-6.12.1/Documentation/accounting/
Dtaskstats-struct.rst9 1) Common and basic accounting fields
11 the common fields and basic accounting fields are collected for
13 2) Delay accounting fields
16 /* Delay accounting fields start */
20 /* Delay accounting fields end */
23 3) Extended accounting fields
26 /* Extended accounting fields start */
30 /* Extended accounting fields end */
36 5) Time accounting for SMT machines
38 6) Extended delay accounting fields for memory reclaim
[all …]
Ddelay-accounting.rst2 Delay accounting
9 The per-task delay accounting functionality measures
42 Delay accounting uses the taskstats interface which is described
45 statistics. The delay accounting functionality populates specific fields of
50 for a description of the fields pertaining to delay accounting.
65 The getdelays.c userspace utility in tools/accounting directory allows simple
77 Delay accounting is disabled by default at boot up.
127 Get IO accounting for pid 1, it works only with -p::
130 printing IO accounting
Dtaskstats.rst12 - unified interface for multiple accounting subsystems
13 - extensibility for use by future accounting patches
48 for reporting delay accounting statistics. Users can register cpumasks,
62 struct taskstats is the common accounting structure for both per-pid and
63 per-tgid data. It is versioned and can be extended by each accounting subsystem
156 struct too much, requiring disparate userspace accounting utilities to
Dindex.rst11 delay-accounting
/linux-6.12.1/fs/bcachefs/
Dbtree_write_buffer.h56 unsigned idx = eytzinger0_find(wb->accounting.data, wb->accounting.nr, in bch2_accounting_key_to_wb()
57 sizeof(wb->accounting.data[0]), in bch2_accounting_key_to_wb()
60 if (idx >= wb->accounting.nr) in bch2_accounting_key_to_wb()
63 struct bkey_i_accounting *dst = bkey_i_to_accounting(&wb->accounting.data[idx].k); in bch2_accounting_key_to_wb()
Dbtree_write_buffer.c639 eytzinger0_sort(wb->accounting.data, wb->accounting.nr, in wb_accounting_sort()
640 sizeof(wb->accounting.data[0]), in wb_accounting_sort()
652 int ret = darray_push(&wb->accounting, new); in bch2_accounting_key_to_wb_slowpath()
730 darray_for_each(wb->accounting, i) in bch2_journal_keys_to_write_buffer_start()
740 darray_for_each(wb->accounting, i) in bch2_journal_keys_to_write_buffer_end()
749 if (live_accounting_keys * 2 < wb->accounting.nr) { in bch2_journal_keys_to_write_buffer_end()
750 struct btree_write_buffered_key *dst = wb->accounting.data; in bch2_journal_keys_to_write_buffer_end()
752 darray_for_each(wb->accounting, src) in bch2_journal_keys_to_write_buffer_end()
755 wb->accounting.nr = dst - wb->accounting.data; in bch2_journal_keys_to_write_buffer_end()
827 darray_exit(&wb->accounting); in bch2_fs_btree_write_buffer_exit()
Ddisk_accounting.c295 struct bch_accounting_mem *acc = &c->accounting; in __bch2_accounting_mem_insert()
362 struct bch_accounting_mem *acc = &c->accounting; in bch2_accounting_mem_gc()
392 struct bch_accounting_mem *acc = &c->accounting; in bch2_fs_replicas_usage_read()
428 struct bch_accounting_mem *acc = &c->accounting; in bch2_fs_accounting_read()
466 struct bch_accounting_mem *acc = &c->accounting; in bch2_fs_accounting_to_text()
500 struct bch_accounting_mem *acc = &c->accounting; in bch2_gc_accounting_start()
522 struct bch_accounting_mem *acc = &c->accounting; in bch2_gc_accounting_done()
698 struct bch_accounting_mem *acc = &c->accounting; in bch2_accounting_read()
964 struct bch_accounting_mem *acc = &c->accounting; in bch2_accounting_gc_free()
972 struct bch_accounting_mem *acc = &c->accounting; in bch2_fs_accounting_exit()
Dchardev.c551 darray_char accounting = {}; in bch2_ioctl_query_accounting() local
558 bch2_fs_accounting_read(c, &accounting, arg.accounting_types_mask) ?: in bch2_ioctl_query_accounting()
559 (arg.accounting_u64s * sizeof(u64) < accounting.nr ? -ERANGE : 0) ?: in bch2_ioctl_query_accounting()
560 copy_to_user_errcode(&user_arg->accounting, accounting.data, accounting.nr); in bch2_ioctl_query_accounting()
567 arg.accounting_u64s = accounting.nr / sizeof(u64); in bch2_ioctl_query_accounting()
571 darray_exit(&accounting); in bch2_ioctl_query_accounting()
Dbtree_write_buffer_types.h56 DARRAY(struct btree_write_buffered_key) accounting;
Ddisk_accounting.h124 struct bch_accounting_mem *acc = &c->accounting; in bch2_accounting_mem_mod_locked()
200 struct bch_accounting_mem *acc = &c->accounting; in bch2_accounting_mem_read()
/linux-6.12.1/Documentation/translations/zh_CN/accounting/
Ddelay-accounting.rst3 :Original: Documentation/accounting/delay-accounting.rst
54 tools/accounting目录中的用户空间程序getdelays.c提供了一些简单的命令,用以显示
109 printing IO accounting
Dindex.rst5 :Original: Documentation/accounting/index.rst
18 delay-accounting
/linux-6.12.1/drivers/md/bcache/
Dstats.c203 mark_cache_stats(&dc->accounting.collector, hit, bypass); in bch_mark_cache_accounting()
204 mark_cache_stats(&c->accounting.collector, hit, bypass); in bch_mark_cache_accounting()
211 atomic_inc(&dc->accounting.collector.cache_miss_collisions); in bch_mark_cache_miss_collision()
212 atomic_inc(&c->accounting.collector.cache_miss_collisions); in bch_mark_cache_miss_collision()
218 atomic_add(sectors, &dc->accounting.collector.sectors_bypassed); in bch_mark_sectors_bypassed()
219 atomic_add(sectors, &c->accounting.collector.sectors_bypassed); in bch_mark_sectors_bypassed()
/linux-6.12.1/arch/powerpc/include/asm/
Dcputime.h33 #define get_accounting(tsk) (&get_paca()->accounting)
34 #define raw_get_accounting(tsk) (&local_paca->accounting)
37 #define get_accounting(tsk) (&task_thread_info(tsk)->accounting)
/linux-6.12.1/Documentation/admin-guide/cgroup-v1/
Dcpuacct.rst5 The CPU accounting controller is used to group tasks using cgroups and
8 The CPU accounting controller supports multi-hierarchy groups. An accounting
16 With the above step, the initial or the parent accounting group becomes
23 New accounting groups can be created under the parent group /sys/fs/cgroup::
Dhugetlb.rst66 1. Page fault accounting
85 2. Reservation accounting
107 non-HugeTLB memory for example. In the case of page fault accounting, it's very
111 systems is practically impossible with page fault accounting.
Dnet_prio.rst22 With the above step, the initial group acting as the parent accounting group
44 said traffic set to the value 5. The parent accounting group also has a
/linux-6.12.1/block/
Dblk-stat.c17 int accounting; member
161 if (list_empty(&q->stats->callbacks) && !q->stats->accounting) in blk_stat_remove_callback()
189 if (!--q->stats->accounting && list_empty(&q->stats->callbacks)) in blk_stat_disable_accounting()
200 if (!q->stats->accounting++ && list_empty(&q->stats->callbacks)) in blk_stat_enable_accounting()
216 stats->accounting = 0; in blk_alloc_queue_stats()
/linux-6.12.1/Documentation/mm/
Dallocation-profiling.rst7 Low overhead (suitable for production) accounting of all memory allocations,
57 To add accounting for an allocation call, we replace it with a macro
73 we'll generally want the accounting to happen in the callers of these helpers,
Dovercommit-accounting.rst65 Additional accounting
80 * SHMfs accounting
/linux-6.12.1/Documentation/features/time/irq-time-acct/
Darch-support.txt4 # description: arch supports precise IRQ time accounting
/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_ppe.c525 if (ppe->accounting) { in __mtk_foe_entry_clear()
640 if (ppe->accounting) { in __mtk_foe_entry_commit()
858 if (!ppe->accounting) in mtk_foe_entry_get_mib()
879 bool accounting = eth->soc->has_accounting; in mtk_ppe_init() local
901 ppe->accounting = accounting; in mtk_ppe_init()
917 if (accounting) { in mtk_ppe_init()
1065 if (ppe->accounting && ppe->mib_phys) { in mtk_ppe_start()
/linux-6.12.1/Documentation/features/time/virt-cpuacct/
Darch-support.txt4 # description: arch supports precise virtual CPU time accounting
/linux-6.12.1/Documentation/translations/zh_CN/mm/
Dovercommit-accounting.rst1 :Original: Documentation/mm/overcommit-accounting.rst
Dindex.rst51 overcommit-accounting

12345