Searched refs:hires (Results 1 – 7 of 7) sorted by relevance
1 # 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');
7 my $hires;10 $hires = eval 'use Time::HiRes qw(sleep); 1';15 : $hires ? ( tests => 9 * 3 )
5 my $hires;10 $hires = eval 'use Time::HiResx "time"; 1';64 my $under = $hires ? 0.1 : 1;
9 $max_datasize $pingstring $hires $source_verify $syn_forking);513 $hires = 1;514 sub hires subroutine517 $hires = 1 unless defined518 ($hires = ((defined $self) && (ref $self)) ? shift() : $self);523 return $hires ? Time::HiRes::time() : CORE::time();
608 $ping->hires(1) if $ping->can('hires');
1047 $ping->hires(1) if $ping->can( 'hires' );
250 - Time::HiRes should override `utime` to allow setting hires618 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