Skip to content

Commit

Permalink
Remove some superfluous code
Browse files Browse the repository at this point in the history
- we don't need to stub Telemetry::Period anymore
- now that we have snapper, we're probably going to be doing less with T
  • Loading branch information
lizmat committed Nov 1, 2017
1 parent 9254396 commit a2ae00e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/Telemetry.pm6
Expand Up @@ -2,8 +2,6 @@

use nqp;

class Telemetry::Period { ... }

class Telemetry {
has int $!cpu-user;
has int $!cpu-sys;
Expand Down Expand Up @@ -364,8 +362,6 @@ multi sub infix:<->(Telemetry:D $a, Telemetry:D $b) is export {
)
}

constant T is export = Telemetry;

my @snaps;
proto sub snap(|) is export { * }
multi sub snap(--> Nil) { @snaps.push(Telemetry.new) }
Expand Down

0 comments on commit a2ae00e

Please sign in to comment.