Home
last modified time | relevance | path

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

12345

/linux-6.15/Documentation/accounting/
H A Dtaskstats-struct.rst9 1) Common and basic accounting fields
13 2) Delay accounting fields
16 /* Delay accounting fields start */
20 /* Delay accounting fields end */
23 3) Extended accounting fields
30 /* Extended accounting fields end */
36 5) Time accounting for SMT machines
97 2) Delay accounting fields::
99 /* Delay accounting fields start
145 /* Delay accounting fields end */
[all …]
H A 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
H A 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
H A Dindex.rst11 delay-accounting
/linux-6.15/fs/bcachefs/
H A 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()
H A Dbtree_write_buffer.c700 eytzinger0_sort(wb->accounting.data, wb->accounting.nr, in wb_accounting_sort()
701 sizeof(wb->accounting.data[0]), in wb_accounting_sort()
713 int ret = darray_push(&wb->accounting, new); in bch2_accounting_key_to_wb_slowpath()
791 darray_for_each(wb->accounting, i) in bch2_journal_keys_to_write_buffer_start()
801 darray_for_each(wb->accounting, i) in bch2_journal_keys_to_write_buffer_end()
810 if (live_accounting_keys * 2 < wb->accounting.nr) { in bch2_journal_keys_to_write_buffer_end()
811 struct btree_write_buffered_key *dst = wb->accounting.data; in bch2_journal_keys_to_write_buffer_end()
813 darray_for_each(wb->accounting, src) in bch2_journal_keys_to_write_buffer_end()
816 wb->accounting.nr = dst - wb->accounting.data; in bch2_journal_keys_to_write_buffer_end()
863 darray_exit(&wb->accounting); in bch2_fs_btree_write_buffer_exit()
H A Dchardev.c447 darray_char accounting = {}; in bch2_ioctl_query_accounting() local
454 bch2_fs_accounting_read(c, &accounting, arg.accounting_types_mask) ?: in bch2_ioctl_query_accounting()
455 (arg.accounting_u64s * sizeof(u64) < accounting.nr ? -ERANGE : 0) ?: in bch2_ioctl_query_accounting()
456 copy_to_user_errcode(&user_arg->accounting, accounting.data, accounting.nr); in bch2_ioctl_query_accounting()
463 arg.accounting_u64s = accounting.nr / sizeof(u64); in bch2_ioctl_query_accounting()
467 darray_exit(&accounting); in bch2_ioctl_query_accounting()
H A Ddisk_accounting.c316 struct bch_accounting_mem *acc = &c->accounting; in __bch2_accounting_mem_insert()
404 struct bch_accounting_mem *acc = &c->accounting; in bch2_accounting_mem_gc()
434 struct bch_accounting_mem *acc = &c->accounting; in bch2_fs_replicas_usage_read()
470 struct bch_accounting_mem *acc = &c->accounting; in bch2_fs_accounting_read()
516 struct bch_accounting_mem *acc = &c->accounting; in bch2_gc_accounting_start()
538 struct bch_accounting_mem *acc = &c->accounting; in bch2_gc_accounting_done()
714 struct bch_accounting_mem *acc = &c->accounting; in bch2_accounting_read()
1025 struct bch_accounting_mem *acc = &c->accounting; in bch2_accounting_gc_free()
1033 struct bch_accounting_mem *acc = &c->accounting; in bch2_fs_accounting_exit()
H A Dbtree_write_buffer_types.h56 DARRAY(struct btree_write_buffered_key) accounting;
/linux-6.15/Documentation/translations/zh_CN/accounting/
H A Ddelay-accounting.rst3 :Original: Documentation/accounting/delay-accounting.rst
54 tools/accounting目录中的用户空间程序getdelays.c提供了一些简单的命令,用以显示
109 printing IO accounting
H A Dindex.rst5 :Original: Documentation/accounting/index.rst
18 delay-accounting
/linux-6.15/drivers/md/bcache/
H A 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.15/arch/powerpc/include/asm/
H A 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.15/Documentation/admin-guide/cgroup-v1/
H A 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::
H A 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.
H A 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
H A Dmemory.rst49 - hierarchical accounting
155 3. Kernel user memory accounting and slab control
219 processes, duplicate accounting is carefully avoided.
231 At page migration, accounting information is kept.
332 Kernel memory accounting is enabled for all memory cgroups by default. But
351 every process consumes some stack pages. By accounting into
381 accounting. Kernel memory is completely ignored.
460 The memory.stat file gives accounting information. Now, the number of
693 In the diagram above, with hierarchical accounting enabled, all memory
698 6.1 Hierarchical accounting and reclaim
[all …]
/linux-6.15/block/
H A 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.15/Documentation/mm/
H A Dallocation-profiling.rst7 Low overhead (suitable for production) accounting of all memory allocations,
62 To add accounting for an allocation call, we replace it with a macro
78 we'll generally want the accounting to happen in the callers of these helpers,
H A Dovercommit-accounting.rst65 Additional accounting
80 * SHMfs accounting
/linux-6.15/Documentation/features/time/irq-time-acct/
H A Darch-support.txt4 # description: arch supports precise IRQ time accounting
/linux-6.15/Documentation/features/time/virt-cpuacct/
H A Darch-support.txt4 # description: arch supports precise virtual CPU time accounting
/linux-6.15/Documentation/translations/zh_CN/mm/
H A Dovercommit-accounting.rst1 :Original: Documentation/mm/overcommit-accounting.rst
H A Dindex.rst51 overcommit-accounting
/linux-6.15/drivers/net/ethernet/mediatek/
H A 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()

12345