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

  1. #!/usr/bin/perl
  2. #
  3. # Intent:
  4. # getting time w/ nanosecond accuracy ...
  5. #
  6. # Note:
  7. # This work has been done during my time at Doctor I·T
  8. #
  9. # -- Copyright drit, 2021 --
  10. #
  11. BEGIN { if (-e $ENV{SITE}.'/lib') { use lib $ENV{SITE}.'/lib'; } }
  12. use essential qw(gettics);
  13. my $tics = &gettics();
  14. printf "tics: %u, 0x%08x\n",$tics,$tics;
  15. exit $?;
  16. 1;