line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tapper::Schema::TestrunDB::Result::BenchSubsumeTypes; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TAPPER'; |
3
|
|
|
|
|
|
|
$Tapper::Schema::TestrunDB::Result::BenchSubsumeTypes::VERSION = '5.0.9'; |
4
|
|
|
|
|
|
|
# ABSTRACT: Tapper - types of subsume values |
5
|
|
|
|
|
|
|
|
6
|
7
|
|
|
7
|
|
3040
|
use strict; |
|
7
|
|
|
|
|
11
|
|
|
7
|
|
|
|
|
180
|
|
7
|
7
|
|
|
7
|
|
26
|
use warnings; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
159
|
|
8
|
|
|
|
|
|
|
|
9
|
7
|
|
|
7
|
|
23
|
use parent 'DBIx::Class'; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
31
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
__PACKAGE__->load_components(qw/InflateColumn::DateTime Core/); |
12
|
|
|
|
|
|
|
__PACKAGE__->table('bench_subsume_types'); |
13
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
14
|
|
|
|
|
|
|
'bench_subsume_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_subsume_type', { |
25
|
|
|
|
|
|
|
data_type => 'VARCHAR', |
26
|
|
|
|
|
|
|
default_value => undef, |
27
|
|
|
|
|
|
|
is_nullable => 0, |
28
|
|
|
|
|
|
|
size => 32, |
29
|
|
|
|
|
|
|
}, |
30
|
|
|
|
|
|
|
'bench_subsume_type_rank', { |
31
|
|
|
|
|
|
|
data_type => 'TINYINT', |
32
|
|
|
|
|
|
|
default_value => undef, |
33
|
|
|
|
|
|
|
is_nullable => 0, |
34
|
|
|
|
|
|
|
size => 4, |
35
|
|
|
|
|
|
|
}, |
36
|
|
|
|
|
|
|
'datetime_strftime_pattern', { |
37
|
|
|
|
|
|
|
data_type => 'VARCHAR', |
38
|
|
|
|
|
|
|
default_value => undef, |
39
|
|
|
|
|
|
|
is_nullable => 1, |
40
|
|
|
|
|
|
|
size => 32, |
41
|
|
|
|
|
|
|
}, |
42
|
|
|
|
|
|
|
'created_at', { |
43
|
|
|
|
|
|
|
data_type => 'TIMESTAMP', |
44
|
|
|
|
|
|
|
default_value => undef, |
45
|
|
|
|
|
|
|
is_nullable => 0, |
46
|
|
|
|
|
|
|
set_on_create => 1, |
47
|
|
|
|
|
|
|
}, |
48
|
|
|
|
|
|
|
); |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
(my $basepkg = __PACKAGE__) =~ s/::\w+$//; |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key('bench_subsume_type_id'); |
54
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint( |
55
|
|
|
|
|
|
|
'ux_bench_subsume_types_01' => ['bench_subsume_type'], |
56
|
|
|
|
|
|
|
); |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
__PACKAGE__->has_many ( |
59
|
|
|
|
|
|
|
bench_value => "${basepkg}::BenchValues", { 'foreign.bench_subsume_type_id' => 'self.bench_subsume_type_id' }, |
60
|
|
|
|
|
|
|
); |
61
|
|
|
|
|
|
|
__PACKAGE__->has_many ( |
62
|
|
|
|
|
|
|
bench_backup_value => "${basepkg}::BenchBackupValues", { 'foreign.bench_subsume_type_id' => 'self.bench_subsume_type_id' }, |
63
|
|
|
|
|
|
|
); |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
1; |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
__END__ |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=pod |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=encoding UTF-8 |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 NAME |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Tapper::Schema::TestrunDB::Result::BenchSubsumeTypes - Tapper - types of subsume values |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 AUTHORS |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=over 4 |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=item * |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
AMD OSRC Tapper Team <tapper@amd64.org> |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=item * |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
Tapper Team <tapper-ops@amazon.com> |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=back |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
This software is Copyright (c) 2017 by Advanced Micro Devices, Inc.. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
This is free software, licensed under: |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
The (two-clause) FreeBSD License |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=cut |