Language::Befunge::lib::HRTI - High-Resolution Timer extension
version 5.000
The HRTI fingerprint (0x48525449) allows a Funge program to measure elapsed time much more finely than the clock values returned by y.
y
The timer and mark-list are considered global and static, shared amongst all IP's, in order to retain tame behaviour. This timer is not affected by 'time travel' contrivances.
Create a new HRTI instance.
Granularity pushes the smallest clock tick the underlying system can reliably handle, measured in microseconds.
Granularity
Mark designates the timer as having been read by the IP with this ID at this instance in time.
Mark
Timer pushes the number of microseconds elapsed since the last time an IP with this ID marked the timer. If there is no previous mark, acts like r.
Timer
r
Erase mark erases the last timer mark by this IP (such that T above will act like r).
Erase mark
T
Second pushes the number of microseconds elapsed since the last whole second.
Second
http://catseye.tc/projects/funge98/library/HRTI.html.
Jerome Quelin
This software is copyright (c) 2003 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Language::Befunge, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Language::Befunge
CPAN shell
perl -MCPAN -e shell install Language::Befunge
For more information on module installation, please visit the detailed CPAN module installation guide.