This change is the complete Widevine metrics system. It will measure and record runtime information about what is happening in the CDM - such as errors and throughput. Bug: 33745339 Bug: 26027857 Change-Id: Ic9a82074f1e2b72c72d751b235f8ae361232787d
30 lines
516 B
C++
30 lines
516 B
C++
// Copyright 2016 Google Inc. All Rights Reserved.
|
|
|
|
#ifndef WVCDM_METRICS_REPORT_H_
|
|
#define WVCDM_METRICS_REPORT_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "event_metric.h"
|
|
|
|
namespace wvcdm {
|
|
namespace metrics {
|
|
|
|
class Report : public MetricNotification {
|
|
|
|
public:
|
|
|
|
virtual ~Report() { }
|
|
|
|
/* Create a new report of the same type. The new report is not
|
|
* a copy of this report. The pointer is to be owned by whoever
|
|
* calls this function. */
|
|
virtual Report* NewReport() const;
|
|
|
|
};
|
|
|
|
} // metrics
|
|
} //wvcdm
|
|
|
|
#endif
|