You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
349 B
22 lines
349 B
#!/usr/bin/perl
|
|
#
|
|
# Intent:
|
|
# getting time w/ nanosecond accuracy ...
|
|
#
|
|
# Note:
|
|
# This work has been done during my time at Doctor I·T
|
|
#
|
|
# -- Copyright drit, 2021 --
|
|
#
|
|
BEGIN { if (-e $ENV{SITE}.'/lib') { use lib $ENV{SITE}.'/lib'; } }
|
|
|
|
use essential qw(gettics);
|
|
|
|
|
|
my $tics = &gettics();
|
|
printf "tics: %u, 0x%08x\n",$tics,$tics;
|
|
|
|
exit $?;
|
|
|
|
1;
|
|
|