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