diff options
author | Thomas Gleixner <[email protected]> | 2019-08-21 21:08:55 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2019-08-28 11:50:28 +0200 |
commit | 24ab7f5a7b2c917e89fc6a87252f18faff91d6ce (patch) | |
tree | f5d94160da053bd6b4bd0491845282b320236be7 /lib/mpi/mpi-mul.c | |
parent | c506bef424ca282f2ad357e86fee940c69018974 (diff) |
posix-cpu-timers: Consolidate thread group sample code
cpu_clock_sample_group() and cpu_timer_sample_group() are almost the
same. Before the rename one called thread_group_cputimer() and the other
thread_group_cputime(). Really intuitive function names.
Consolidate the functions and also avoid the thread traversal when
the thread group's accounting is already active.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions