函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__cgroup_account_cputime_field

函数原型:void __cgroup_account_cputime_field(struct cgroup *cgrp, enum cpu_usage_stat index, u64 delta_exec)

返回类型:void

参数:

类型参数名称
struct cgroup *cgrp
enum cpu_usage_statindex
u64delta_exec
383  rstatc等于cgroup_base_stat_cputime_account_begin(cgrp)
386  :index恒等于CPUTIME_USER
387  :index恒等于CPUTIME_NICE
388  utime加等于delta_exec
389  退出
390  :index恒等于CPUTIME_SYSTEM
391  :index恒等于CPUTIME_IRQ
392  :index恒等于CPUTIME_SOFTIRQ
393  stime加等于delta_exec
394  退出
395  默认
396  退出
399  cgroup_base_stat_cputime_account_end(cgrp, rstatc)