Home
last modified time | relevance | path

Searched refs:hires (Results 1 – 7 of 7) sorted by relevance

/openbsd/src/gnu/usr.bin/perl/dist/Net-Ping/t/
D250_ping_hires.t1 # Test to make sure hires feature works.
36 is($Net::Ping::hires, 1, 'Default is to use Time::HiRes');
38 $p -> hires();
39 isnt($Net::Ping::hires, 0, 'Enabled hires');
41 $p -> hires(0);
42 is($Net::Ping::hires, 0, 'Make sure disable works');
44 $p -> hires(1);
45 isnt($Net::Ping::hires, 0, 'Enable hires again');
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/t/
Dprocess.t7 my $hires;
10 $hires = eval 'use Time::HiRes qw(sleep); 1';
15 : $hires ? ( tests => 9 * 3 )
/openbsd/src/gnu/usr.bin/perl/t/op/
Dsselect.t5 my $hires;
10 $hires = eval 'use Time::HiResx "time"; 1';
64 my $under = $hires ? 0.1 : 1;
/openbsd/src/gnu/usr.bin/perl/dist/Net-Ping/lib/Net/
DPing.pm9 $max_datasize $pingstring $hires $source_verify $syn_forking);
513 $hires = 1;
514 sub hires subroutine
517 $hires = 1 unless defined
518 ($hires = ((defined $self) && (ref $self)) ? shift() : $self);
523 return $hires ? Time::HiRes::time() : CORE::time();
/openbsd/src/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/
DMirrors.pm608 $ping->hires(1) if $ping->can('hires');
/openbsd/src/gnu/usr.bin/perl/cpan/CPAN/lib/App/
DCpan.pm1047 $ping->hires(1) if $ping->can( 'hires' );
/openbsd/src/gnu/usr.bin/perl/dist/Time-HiRes/
DChanges250 - Time::HiRes should override `utime` to allow setting hires
618 when it is like (hires) time() (instead of like nanosleep),
780 (affects Time::HiRes gettimeofday() and the hires time())
1066 - 13266: test relaxation (cygwin gets lower hires