File Coverage

lib/Mojo/IOLoop/ReadWriteProcess/CGroup/v1/RDMA.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Mojo::IOLoop::ReadWriteProcess::CGroup::v1::RDMA;
2              
3 15     15   119 use Mojo::Base 'Mojo::IOLoop::ReadWriteProcess::CGroup::v2::RDMA';
  15         19  
  15         104  
4              
5              
6             has cgroup => sub { Mojo::IOLoop::ReadWriteProcess::CGroup::v1->new };
7              
8             1;
9              
10             =encoding utf-8
11              
12             =head1 NAME
13              
14             Mojo::IOLoop::ReadWriteProcess::CGroup::v2::RDMA - CGroups v2 RDMA Controller
15              
16             =head1 SYNOPSIS
17              
18             use Mojo::IOLoop::ReadWriteProcess::CGroup::v2;
19              
20             my $cgroup = Mojo::IOLoop::ReadWriteProcess::CGroup::v2->new( name => "test" );
21              
22             $cgroup->rdma->current;
23              
24             =head1 DESCRIPTION
25              
26             This module uses features that are only available on Linux,
27             and requires cgroups and capability for unshare syscalls to achieve pid isolation.
28              
29             =head1 METHODS
30              
31             L inherits all methods from L and implements
32             the following new ones.
33              
34             =head1 LICENSE
35              
36             Copyright (C) Ettore Di Giacinto.
37              
38             This library is free software; you can redistribute it and/or modify
39             it under the same terms as Perl itself.
40              
41             =head1 AUTHOR
42              
43             Ettore Di Giacinto Eedigiacinto@suse.comE
44              
45             =cut