Home
last modified time | relevance | path

Searched refs:dst_bstat (Results 1 – 1 of 1) sorted by relevance

/linux-6.3-rc2/kernel/cgroup/
A Drstat.c337 static void cgroup_base_stat_add(struct cgroup_base_stat *dst_bstat, in cgroup_base_stat_add() argument
340 dst_bstat->cputime.utime += src_bstat->cputime.utime; in cgroup_base_stat_add()
341 dst_bstat->cputime.stime += src_bstat->cputime.stime; in cgroup_base_stat_add()
342 dst_bstat->cputime.sum_exec_runtime += src_bstat->cputime.sum_exec_runtime; in cgroup_base_stat_add()
344 dst_bstat->forceidle_sum += src_bstat->forceidle_sum; in cgroup_base_stat_add()
348 static void cgroup_base_stat_sub(struct cgroup_base_stat *dst_bstat, in cgroup_base_stat_sub() argument
351 dst_bstat->cputime.utime -= src_bstat->cputime.utime; in cgroup_base_stat_sub()
352 dst_bstat->cputime.stime -= src_bstat->cputime.stime; in cgroup_base_stat_sub()
353 dst_bstat->cputime.sum_exec_runtime -= src_bstat->cputime.sum_exec_runtime; in cgroup_base_stat_sub()
355 dst_bstat->forceidle_sum -= src_bstat->forceidle_sum; in cgroup_base_stat_sub()

Completed in 5 milliseconds