VinsWorldcom@C:\Users\VinsWorldcom\tmp> client.pl
Time::HiRes::clock(): unimplemented in this platform at C:\Users\VinsWorldcom\tmp\client.pl line 6.
BEGIN failed--compilation aborted at C:\Users\VinsWorldcom\tmp\client.pl line 6.
####
#use Time::HiRes qw( time gettimeofday clock );
use Time::HiRes qw( time gettimeofday );
use POSIX qw(CLOCKS_PER_SEC);
####
# my $clock_t0 = clock();
my ($clock_t0, $clock_t1);
(undef, undef, $clock_t0, undef, undef) = POSIX::times();
...
# my $clock_t1 = clock();
(undef, undef, $clock_t1, undef, undef) = POSIX::times();