#include "assert_support.h"
#include "sh_css_metrics.h"
#include "sp.h"
#include "isp.h"
#include "sh_css_internal.h"
#define MULTIPLE_PCS …
#define SUSPEND …
#define NOF_PCS …
#define RESUME_MASK …
#define STOP_MASK …
static bool pc_histogram_enabled;
static struct sh_css_pc_histogram *isp_histogram;
static struct sh_css_pc_histogram *sp_histogram;
struct sh_css_metrics sh_css_metrics;
void
sh_css_metrics_start_frame(void)
{ … }
static void
clear_histogram(struct sh_css_pc_histogram *histogram)
{ … }
void
sh_css_metrics_enable_pc_histogram(bool enable)
{ … }
static void
make_histogram(struct sh_css_pc_histogram *histogram, unsigned int length)
{ … }
static void
insert_binary_metrics(struct sh_css_binary_metrics **l,
struct sh_css_binary_metrics *metrics)
{ … }
void
sh_css_metrics_start_binary(struct sh_css_binary_metrics *metrics)
{ … }
void
sh_css_metrics_sample_pcs(void)
{ … }