Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created June 9, 2018 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/7d66af2c5ca671a00caa0c3b758261a3 to your computer and use it in GitHub Desktop.
Save Whateverable/7d66af2c5ca671a00caa0c3b758261a3 to your computer and use it in GitHub Desktop.
greppable6
nqp::time_n
File Code
TIMOTIMO/SDL2-Raw
…/particles.p6 :95:
my $start = nqp::time_n();
TIMOTIMO/SDL2-Raw
…/particles.p6 :111:
@times.push: nqp::time_n() - $start;
TIMOTIMO/SDL2-Raw
…/particles.p6 :112:
$df = nqp::time_n() - $start;
TIMOTIMO/SDL2-Raw
…/shooter.pl :162:
my num $last_frame_start = nqp::time_n();
TIMOTIMO/SDL2-Raw
…/shooter.pl :165:
my num $start = nqp::time_n();
TIMOTIMO/SDL2-Raw
…/shooter.pl :313:
my @yoffs = ((nqp::time_n() * -100) % H).Int,
TIMOTIMO/SDL2-Raw
…/shooter.pl :314:
((nqp::time_n() * -80) % H).Int,
TIMOTIMO/SDL2-Raw
…/shooter.pl :315:
((nqp::time_n() * -50) % H).Int,
TIMOTIMO/SDL2-Raw
…/shooter.pl :316:
((nqp::time_n() * -15) % H).Int;
TIMOTIMO/SDL2-Raw
…/shooter.pl :348:
@times.push: nqp::time_n() - $start;
TIMOTIMO/SDL2-Raw
…/snake.pl :55:
my num $start = nqp::time_n();
TIMOTIMO/SDL2-Raw
…/snake.pl :76:
my num $last_frame_start = nqp::time_n();
TIMOTIMO/SDL2-Raw
…/snake.pl :78:
my num $start = nqp::time_n();
TIMOTIMO/SDL2-Raw
…/snake.pl :166:
@times.push: nqp::time_n() - $start;
TIMOTIMO/SDL2-Raw
…/white_noise.p6 :69:
my $start = nqp::time_n();
TIMOTIMO/SDL2-Raw
…/white_noise.p6 :83:
@times.push: nqp::time_n() - $start;
finanalyst/p6-inform
…/Informative.pm6 :179:
my $starttime = nqp::time_n();
finanalyst/p6-inform
…/Informative.pm6 :180:
my $lasttime = nqp::time_n();
finanalyst/p6-inform
…/Informative.pm6 :183:
my $dt = nqp::time_n() - $lasttime;
finanalyst/p6-inform
…/Informative.pm6 :184:
$lasttime = nqp::time_n();
finanalyst/p6-inform
…/Informative.pm6 :185:
$s.emit((nqp::time_n() - $starttime, $dt));
perl6/gtk-simple
…/App.pm6 :55:
my $starttime = nqp::time_n();
perl6/gtk-simple
…/App.pm6 :56:
my $lasttime = nqp::time_n();
perl6/gtk-simple
…/App.pm6 :59:
my $dt = nqp::time_n() - $lasttime;
perl6/gtk-simple
…/App.pm6 :60:
$lasttime = nqp::time_n();
perl6/gtk-simple
…/App.pm6 :61:
$s.emit((nqp::time_n() - $starttime, $dt));
rakudo-p5/v5
…/Build.pm :80:
%build_time{$module<name>} = nqp::time_n;
sergot/Term--ProgressBar
…/ProgressBar.pm :21:
# This is a bit gross but the other alternative is to use nqp::time_n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment