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