• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2022 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15export const TabPaneVmTrackerShmSelectionHtml = `
16        <style>
17        :host{
18            display: flex;
19            flex-direction: column;
20            padding: 10px 10px 0 10px;
21            height: calc(100% - 10px - 31px);
22        }
23        tab-pane-filter {
24            border: solid rgb(216,216,216) 1px;
25            float: left;
26            position: fixed;
27            bottom: 0;
28            width: 100%;
29        }
30        selector{
31            display: none;
32        }
33        .show{
34            display: flex;
35            flex: 1;
36        }
37        .progress{
38            bottom: 33px;
39            position: absolute;
40            height: 1px;
41            left: 0;
42            right: 0;
43        }
44        .loading{
45            bottom: 0;
46            position: absolute;
47            left: 0;
48            right: 0;
49            width:100%;
50            background:transparent;
51            z-index: 999999;
52        }
53        </style>
54                        <lit-table id="tb-shm-selection" style="height: auto">
55                            <lit-table-column width="100px" title="TimeStamp" data-index="ts" key="ts"  align="flex-start" order>
56                            </lit-table-column>
57                            <lit-table-column width="1fr" title="Fd" data-index="fd" key="fd" align="flex-start"  order>
58                            </lit-table-column>
59                            <lit-table-column width="1fr" title="Size" data-index="sizeStr" key="sizeStr" align="flex-start"  order>
60                            </lit-table-column>
61                            <lit-table-column width="1fr" title="Adj" data-index="adj" key="adj" align="flex-start" order>
62                            </lit-table-column>
63                            <lit-table-column width="250px" title="AshmName" data-index="name" key="name" align="flex-start"  order>
64                            </lit-table-column>
65                            <lit-table-column width="1fr" title="Id" data-index="id" key="id" align="flex-start"  order>
66                            </lit-table-column>
67                            <lit-table-column width="200px" title="Time" data-index="time" key="time" align="flex-start"  order>
68                            </lit-table-column>
69                            <lit-table-column width="1fr" title="Refcount" data-index="count" key="count" align="flex-start"  order>
70                            </lit-table-column>
71                            <lit-table-column width="1fr" title="Purged" data-index="purged" key="purged" align="flex-start"  order>
72                            </lit-table-column>
73                            <lit-table-column width="1fr" title="Flag" data-index="flag" key="flag" align="flex-start"  order>
74                            </lit-table-column>
75                        </lit-table>
76        `;
77