RDK Documentation (Open Sourced RDK Components)
FakeAampProfiler.cpp
1 /*
2 * If not stated otherwise in this file or this component's license file the
3 * following copyright and licenses apply:
4 *
5 * Copyright 2022 RDK Management
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19 
20 #include "AampProfiler.h"
21 
23 {
24 }
25 
27 {
28 }
29 
30 void ProfileEventAAMP::TuneEnd(TuneEndMetrics &mTuneEndMetrics,std::string appName, std::string playerActiveMode, int playerId, bool playerPreBuffered, unsigned int durationSeconds, bool interfaceWifi,std::string failureReason)
31 {
32 }
33 
34 void ProfileEventAAMP::GetClassicTuneTimeInfo(bool success, int tuneRetries, int firstTuneType, long long playerLoadTime, int streamType, bool isLive,unsigned int durationinSec, char *TuneTimeInfoStr)
35 {
36 }
37 
39 {
40 }
41 
43 {
44 }
45 
47 {
48 }
49 
51 {
52 }
TuneEndMetrics
TuneEndMetrics structure to store tunemetrics data.
Definition: AampProfiler.h:124
ProfileEventAAMP::GetClassicTuneTimeInfo
void GetClassicTuneTimeInfo(bool success, int tuneRetries, int firstTuneType, long long playerLoadTime, int streamType, bool isLive, unsigned int durationinSec, char *TuneTimeInfoStr)
Method converting the AAMP style tune performance data to IP_EX_TUNETIME style data.
Definition: AampProfiler.cpp:242
AampProfiler.h
ProfileEventAAMP header file.
ProfileEventAAMP::ProfilePerformed
void ProfilePerformed(ProfilerBucketType type)
Method to mark the end of a bucket, for which beginning is not marked.
Definition: AampProfiler.cpp:354
ProfileEventAAMP::ProfileError
void ProfileError(ProfilerBucketType type, int result=-1)
Marking error while executing a bucket.
Definition: AampProfiler.cpp:311
ProfileEventAAMP::ProfileBegin
void ProfileBegin(ProfilerBucketType type)
Marking the beginning of a bucket.
Definition: AampProfiler.cpp:297
ProfileEventAAMP::TuneBegin
void TuneBegin(void)
Profiler method to perform tune begin related operations.
Definition: AampProfiler.cpp:94
ProfilerBucketType
ProfilerBucketType
Bucket types of AAMP profiler.
Definition: AampProfiler.h:43
ProfileEventAAMP::ProfileEnd
void ProfileEnd(ProfilerBucketType type)
Marking the end of a bucket.
Definition: AampProfiler.cpp:325
ProfileEventAAMP::TuneEnd
void TuneEnd(TuneEndMetrics &mTuneendmetrics, std::string appName, std::string playerActiveMode, int playerId, bool playerPreBuffered, unsigned int durationSeconds, bool interfaceWifi, std::string failureReason)
Logging performance metrics after successful tune completion. Metrics starts with IP_AAMP_TUNETIME.
Definition: AampProfiler.cpp:157
ProfileEventAAMP::ProfileEventAAMP
ProfileEventAAMP()
ProfileEventAAMP Constructor.
Definition: AampProfiler.cpp:37