1 /*
2 * Copyright (c) 2023-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 */
15
16 #include "rs_frame_report.h"
17
18 namespace OHOS::Rosen {
GetInstance()19 RsFrameReport& RsFrameReport::GetInstance()
20 {
21 static RsFrameReport instance;
22 return instance;
23 }
24
RsFrameReport()25 RsFrameReport::RsFrameReport()
26 {
27 }
28
~RsFrameReport()29 RsFrameReport::~RsFrameReport()
30 {
31 }
32
Init()33 void RsFrameReport::Init()
34 {
35 }
36
GetEnable()37 int RsFrameReport::GetEnable()
38 {
39 return 0;
40 }
41
RenderStart(uint64_t timestamp,int skipFirstFrame)42 void RsFrameReport::RenderStart(uint64_t timestamp, int skipFirstFrame)
43 {
44 }
45
RenderEnd()46 void RsFrameReport::RenderEnd()
47 {
48 }
49
SendCommandsStart()50 void RsFrameReport::SendCommandsStart()
51 {
52 }
53
SetFrameParam(int requestId,int load,int schedFrameNum,int value)54 void RsFrameReport::SetFrameParam(int requestId, int load, int schedFrameNum, int value)
55 {
56 }
57 } // namespace OHOS::Rosen
58