|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /proc/self/root/usr/local/share/perl5/Test2/Event/ |
Upload File : |
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.000120';
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;