This is a merge of go/wvgerrit/22627 The call table was meant to be a long-term way to track the performance of all OEMCrypto function calls. This feature does not get used. Apps that call into the profiler can generate this from the history. This change was designed to go into Android O (go/wvgerrit/22503) but since the Call Table is causing problems on specific chip sets its being removed in NYC MR2. Bug: 33550032 Bug: 33459261 Change-Id: I2af417a32452e7d0d0a1ada8794efd849c497dc8
23 lines
348 B
C++
23 lines
348 B
C++
// Copyright 2016 Google Inc. All Rights Reserved.
|
|
|
|
#ifndef WVCDM_PROFILER_H_
|
|
#define WVCDM_PROFILER_H_
|
|
|
|
#include "call_history.h"
|
|
|
|
namespace wvcdm {
|
|
namespace oemprofiler {
|
|
|
|
class Profiler {
|
|
public:
|
|
static CallHistory& GetHistory();
|
|
|
|
private:
|
|
static CallHistory global_history_;
|
|
};
|
|
|
|
} // namespace oemprofiler
|
|
} // namespace wvcdm
|
|
|
|
#endif
|