/usr/share/perl5/Test2/Event/Times.pm is in libtest2-suite-perl 0.000102-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | package Test2::Event::Times;
use strict;
use warnings;
BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
use Test2::Util::HashBase qw/-start -stop -user -sys -cuser -csys/;
use Test2::Util::Times qw/render_bench/;
our $VERSION = '0.000102';
sub summary {
my $self = shift;
return render_bench(@{$self}{(START, STOP, USER, SYS, CUSER, CSYS)});
}
sub facet_data {
my $self = shift;
my $data = $self->SUPER::facet_data();
$data->{times} = {
START() => $self->{+START},
STOP() => $self->{+STOP},
USER() => $self->{+USER},
SYS() => $self->{+SYS},
CUSER() => $self->{+CUSER},
CSYS() => $self->{+CSYS},
};
return $data;
}
1;
|