Docker/Type/ContainerCPUStats.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/ContainerBlkioStats.pm ↑ Summary Docker/Type/ContainerCPUUsage.pm »
1 package API::Docker::Type::ContainerCPUStats;
2 # ABSTRACT: CPU related info of the container
3 1 our $VERSION = '0.006';
4 1 ▶use API::Docker::Type;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use API::Docker::Type::ContainerCPUUsage;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use API::Docker::Type::ContainerThrottlingData;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9  
10 1 docker cpu_usage => 'ContainerCPUUsage', wire => 'cpu_usage', since => '1.51';
11  
12  
13 1 docker system_cpu_usage => Int, wire => 'system_cpu_usage', since => '1.51';
14  
15  
16 1 docker online_cpus => Int, wire => 'online_cpus', since => '1.51';
17  
18  
19 1 docker throttling_data => 'ContainerThrottlingData',
20 wire => 'throttling_data', since => '1.51';
21  
22  
23 1 1;
24  
25 __END__
« Docker/Type/ContainerBlkioStats.pm ↑ Summary Docker/Type/ContainerCPUUsage.pm »