• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2024 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 MtSettingHtml = `
16    <style>
17    :host{
18        display: flex;
19        padding: 0px 10px 0 10px;
20        flex-direction: column;
21        height: 100%;
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    </style>
31    <lit-table id="tb-parallel" style="height: auto" tree>
32        <lit-table-column class="freq-sample-column" width="20%" title="Process/Core" data-index="title" key="title" align="flex-start" retract>
33        </lit-table-column>
34        <lit-table-column class="freq-sample-column" width="1fr" title="T count" data-index="tCount" key="tCount" align="flex-start">
35        </lit-table-column>
36        <lit-table-column class="freq-sample-column" width="1fr" title="Group" data-index="group" key="group" align="flex-start" >
37        </lit-table-column>
38        <lit-table-column class="freq-sample-column" width="1fr" title="T parallel num" data-index="parallelNum" key="parallelNum" align="flex-start" >
39        </lit-table-column>
40        <lit-table-column class="freq-sample-column" width="1fr" title="Running dur(ms)" data-index="dur" key="dur" align="flex-start" >
41        </lit-table-column>
42        <lit-table-column class="freq-sample-column" width="1fr" title="Parallel dur(ms)" data-index="parallelDur" key="parallelDur" align="flex-start" >
43        </lit-table-column>
44        <lit-table-column class="freq-sample-column" width="1fr" title="Parallelism(%)" data-index="allParallel" key="allParallel" align="flex-start" >
45        </lit-table-column>
46        <lit-table-column class="freq-sample-column" width="1fr" title="Payload" data-index="load" key="load" align="flex-start" >
47        </lit-table-column>
48    </lit-table>
49    <tab-pane-filter id="filter" cpu_config group_config></tab-pane-filter>
50`;