History

posix-cpu-timers: Switch thread group sampling to array

That allows more simplifications in various places.

Thomas Gleixner committed 7 years ago

Commit b7be4ef1 parent 87dc6443 files · +49 −68Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/sched/cputime.h+1−1
@@ -61,7 +61,7 @@ extern void cputime_adjust(struct task_cputime *curr, struct prev_cputime *prev, · 60 unmodified lines
61 * Thread group CPU time accounting.61 * Thread group CPU time accounting.
62 */62 */
63void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times);63void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times);
64void thread_group_sample_cputime(struct task_struct *tsk, struct task_cputime *times);64void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples);
65 65
66/*66/*
67 * The following are functions that support scheduler-internal time accounting.67 * The following are functions that support scheduler-internal time accounting.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t