blib/lib/POSIX/SchedYield.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package POSIX::SchedYield; | ||||||
2 | |||||||
3 | 2 | 2 | 45225 | use version; our $VERSION = qv('0.0.2'); | |||
2 | 4300 | ||||||
2 | 12 | ||||||
4 | |||||||
5 | 2 | 2 | 168 | use 5.006; | |||
2 | 10 | ||||||
2 | 57 | ||||||
6 | 2 | 2 | 10 | use warnings; | |||
2 | 8 | ||||||
2 | 48 | ||||||
7 | 2 | 2 | 9 | use strict; | |||
2 | 3 | ||||||
2 | 242 | ||||||
8 | |||||||
9 | require Exporter; | ||||||
10 | |||||||
11 | our @ISA = qw(Exporter); | ||||||
12 | |||||||
13 | our @EXPORT_OK = qw(sched_yield); | ||||||
14 | |||||||
15 | require XSLoader; | ||||||
16 | XSLoader::load('POSIX::SchedYield', $VERSION); | ||||||
17 | |||||||
18 | 1; | ||||||
19 | |||||||
20 | __END__ |