RDK Documentation (Open Sourced RDK Components)
AampProfiler.h File Reference

ProfileEventAAMP header file. More...

#include <mutex>
#include <list>
#include <sstream>
#include <string>
#include "AampLogManager.h"
Include dependency graph for AampProfiler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  TuneEndMetrics
 TuneEndMetrics structure to store tunemetrics data. More...
 
class  ProfileEventAAMP
 Class for AAMP event Profiling. More...
 
class  ProfileEventAAMP::TuneEvent
 Class corresponding to tune time events. More...
 
struct  ProfileEventAAMP::ProfilerBucket
 Data structure corresponding to profiler bucket. More...
 

Macros

#define bucketsOverlap(id1, id2)
 Calculating effecting duration of overlapping buckets, id1 & id2. More...
 
#define bucketDuration(id)   (buckets[id].complete?(buckets[id].tFinish - buckets[id].tStart):0)
 Calculating total duration a bucket id.
 

Enumerations

enum  ProfilerBucketType
 Bucket types of AAMP profiler. More...
 
enum  ClassicProfilerBucketType
 Bucket types of classic profiler. More...
 
enum  ContentType
 Asset's content types. More...
 

yes

ProfileEventAAMP header file.

Definition in file AampProfiler.h.


Data Structure Documentation

◆ ProfileEventAAMP::ProfilerBucket

struct ProfileEventAAMP::ProfilerBucket

Data structure corresponding to profiler bucket.

Definition at line 178 of file AampProfiler.h.

Collaboration diagram for ProfileEventAAMP::ProfilerBucket:
Collaboration graph
Data Fields
unsigned int tStart

Relative start time of operation, based on tuneStartMonotonicBase

unsigned int tFinish

Relative end time of operation, based on tuneStartMonotonicBase

int errorCount

non-zero if errors/retries occured during this operation

bool complete

true if this step already accounted for, and further profiling should be ignored

bool profileStarted

Flag that indicates,whether the profiler is started or not

Macro Definition Documentation

◆ bucketsOverlap

#define bucketsOverlap (   id1,
  id2 
)
Value:
buckets[id1].complete && buckets[id2].complete && \
(buckets[id1].tStart <= buckets[id2].tFinish) && (buckets[id2].tStart <= buckets[id1].tFinish)

Calculating effecting duration of overlapping buckets, id1 & id2.

Definition at line 190 of file AampProfiler.h.