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
6161 * Thread group CPU time accounting.
6262 */
6363 void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times);
64−void thread_group_sample_cputime(struct task_struct *tsk, struct task_cputime *times);
64+void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples);
6565
6666 /*
6767 * 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