Initial commit
[www-passmark.git] / lib / WWW / Passmark / CPU.pm
CommitLineData
e7d8c919
MG
1package WWW::Passmark::CPU;
2
3use 5.014000;
4use strict;
5use warnings;
6
7sub name { shift->[0] }
8sub price { shift->[1] }
9sub cpumark { shift->[2] }
10sub value { shift->[3] }
11sub single_thread_mark { shift->[4] }
12sub single_thread_value { shift->[5] }
13sub tdp { shift->[6] }
14sub power_performance { shift->[7] }
15sub test_date { shift->[8] }
16sub socket { shift->[9] }
17sub category { shift->[10] }
18sub extra_info { shift->[11] }
19
201;
21__END__
22
23=encoding utf-8
24
25=head1 NAME
26
27WWW::Passmark::CPU - benchmark results of a CPU
28
29=head1 SYNOPSIS
30
31 my $cpu = ...;
32 say $cpu->name; # AMD FX-8350 Eight-Core
33 say $cpu->cpumark; # 8950
34 say $cpu->test_date; # Oct 2012
35 say $cpu->tdp; # 125
36
37=head1 DESCRIPTION
38
39An instance of this module represents benchmark results for some CPU.
40Methods of this module return the various results, see source code for
41a list of available methods.
42
43=head1 AUTHOR
44
45Marius Gavrilescu, E<lt>marius@ieval.roE<gt>
46
47=head1 COPYRIGHT AND LICENSE
48
49Copyright (C) 2018 by Marius Gavrilescu
50
51This library is free software; you can redistribute it and/or modify
52it under the same terms as Perl itself, either Perl version 5.24.1 or,
53at your option, any later version of Perl 5 you may have available.
54
55
56=cut
This page took 0.012737 seconds and 4 git commands to generate.