函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\rstat.c Create Date:2022-07-27 12:14:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__cgroup_account_cputime

函数原型:void __cgroup_account_cputime(struct cgroup *cgrp, u64 delta_exec)

返回类型:void

参数:

类型参数名称
struct cgroup *cgrp
u64delta_exec
373  rstatc等于cgroup_base_stat_cputime_account_begin(cgrp)
374  sum_exec_runtime加等于delta_exec
375  cgroup_base_stat_cputime_account_end(cgrp, rstatc)