/* * Copyright (C) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ export const SpKeyboardHtml = `

SmartPerf Help

Navigation

w
/
s
Zoom in/out
a
/
d
Pan left/right

Mouse Controls

Click Select event
Click + Drag Select area
Ctrl + Scroll wheel Zoom in/out
Ctrl + Click + Drag Pan left/right

Making SQL queries from the query page

Ctrl
+
Enter
Execute query

Other

f
(with event selected)
Focus on the selected slice
m
(with event or area selected)
Mark the area (temporarily)
Shift
+
m
(with event or area selected)
Mark the area (persistently)
Ctr
+
b
Hide/Show menus and search boxes
Ctrl
+
,
/
.
Locate the time point marked by the previous/next flag
Ctrl
+
[
/
]
Locate the previous/next position selected with shift+m
/
Show Keyboard shortcuts
v
Show/hide Vsync signal
b
Expand/Fold Collection Area
`;