line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tapper::Schema::TestrunDB::Result::BenchAdditionalTypes; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TAPPER'; |
3
|
|
|
|
|
|
|
$Tapper::Schema::TestrunDB::Result::BenchAdditionalTypes::VERSION = '5.0.11'; |
4
|
|
|
|
|
|
|
# ABSTRACT: Tapper - types of additional values for benchmark data points |
5
|
|
|
|
|
|
|
|
6
|
7
|
|
|
7
|
|
3396
|
use strict; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
181
|
|
7
|
7
|
|
|
7
|
|
32
|
use warnings; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
159
|
|
8
|
|
|
|
|
|
|
|
9
|
7
|
|
|
7
|
|
32
|
use parent 'DBIx::Class'; |
|
7
|
|
|
|
|
12
|
|
|
7
|
|
|
|
|
70
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
__PACKAGE__->load_components(qw/InflateColumn::DateTime Core/); |
12
|
|
|
|
|
|
|
__PACKAGE__->table('bench_additional_types'); |
13
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
14
|
|
|
|
|
|
|
'bench_additional_type_id', { |
15
|
|
|
|
|
|
|
data_type => 'SMALLINT', |
16
|
|
|
|
|
|
|
default_value => undef, |
17
|
|
|
|
|
|
|
is_nullable => 0, |
18
|
|
|
|
|
|
|
size => 6, |
19
|
|
|
|
|
|
|
is_auto_increment => 1, |
20
|
|
|
|
|
|
|
extra => { |
21
|
|
|
|
|
|
|
unsigned => 1, |
22
|
|
|
|
|
|
|
}, |
23
|
|
|
|
|
|
|
}, |
24
|
|
|
|
|
|
|
'bench_additional_type', { |
25
|
|
|
|
|
|
|
data_type => 'VARCHAR', |
26
|
|
|
|
|
|
|
default_value => undef, |
27
|
|
|
|
|
|
|
is_nullable => 0, |
28
|
|
|
|
|
|
|
size => 767, |
29
|
|
|
|
|
|
|
}, |
30
|
|
|
|
|
|
|
'created_at', { |
31
|
|
|
|
|
|
|
data_type => 'TIMESTAMP', |
32
|
|
|
|
|
|
|
default_value => undef, |
33
|
|
|
|
|
|
|
is_nullable => 0, |
34
|
|
|
|
|
|
|
set_on_create => 1, |
35
|
|
|
|
|
|
|
}, |
36
|
|
|
|
|
|
|
); |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
(my $basepkg = __PACKAGE__) =~ s/::\w+$//; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key('bench_additional_type_id'); |
42
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint( |
43
|
|
|
|
|
|
|
'ux_bench_additional_types_01' => ['bench_additional_type'], |
44
|
|
|
|
|
|
|
); |
45
|
|
|
|
|
|
|
__PACKAGE__->has_many ( |
46
|
|
|
|
|
|
|
bench_additional_value => "${basepkg}::BenchAdditionalValues", { 'foreign.bench_additional_type_id' => 'self.bench_additional_type_id' }, |
47
|
|
|
|
|
|
|
); |
48
|
|
|
|
|
|
|
__PACKAGE__->has_many ( |
49
|
|
|
|
|
|
|
bench_additional_type_relation => "${basepkg}::BenchAdditionalTypeRelations", { 'foreign.bench_additional_type_id' => 'self.bench_additional_type_id' }, |
50
|
|
|
|
|
|
|
); |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
1; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
__END__ |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=pod |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=encoding UTF-8 |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 NAME |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Tapper::Schema::TestrunDB::Result::BenchAdditionalTypes - Tapper - types of additional values for benchmark data points |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 AUTHORS |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=over 4 |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=item * |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
AMD OSRC Tapper Team <tapper@amd64.org> |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item * |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
Tapper Team <tapper-ops@amazon.com> |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=back |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
This software is Copyright (c) 2019 by Advanced Micro Devices, Inc.. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
This is free software, licensed under: |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
The (two-clause) FreeBSD License |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=cut |