File Coverage

lib/Random/RDTSC.xs
Criterion Covered Total %
statement 2 2 100.0
branch n/a
condition n/a
subroutine n/a
pod n/a
total 2 2 100.0


line stmt bran cond sub pod time code
1             #include "EXTERN.h"
2             #include "perl.h"
3             #include "XSUB.h"
4             #include "rdtsc_rand.h" // Include the header from the repo
5              
6             MODULE = Random::RDTSC PACKAGE = Random::RDTSC
7              
8             PROTOTYPES: DISABLE
9              
10             UV
11             get_rdtsc()
12             CODE:
13 2           RETVAL = get_rdtsc();
14             OUTPUT:
15             RETVAL
16              
17             UV
18             rdtsc_rand64()
19             CODE:
20 2           RETVAL = rdtsc_rand64();
21             OUTPUT:
22             RETVAL