Linux Perf
counts.h File Reference
#include "xyarray.h"
Include dependency graph for counts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  perf_counts_values
 
struct  perf_counts
 

Functions

static struct perf_counts_valuesperf_counts (struct perf_counts *counts, int cpu, int thread)
 
struct perf_countsperf_counts__new (int ncpus, int nthreads)
 
void perf_counts__delete (struct perf_counts *counts)
 
void perf_evsel__reset_counts (struct perf_evsel *evsel)
 
int perf_evsel__alloc_counts (struct perf_evsel *evsel, int ncpus, int nthreads)
 
void perf_evsel__free_counts (struct perf_evsel *evsel)
 

Function Documentation

◆ perf_counts()

static struct perf_counts_values* perf_counts ( struct perf_counts counts,
int  cpu,
int  thread 
)
static

Definition at line 27 of file counts.h.

Here is the call graph for this function:

◆ perf_counts__delete()

void perf_counts__delete ( struct perf_counts counts)

Definition at line 27 of file counts.c.

Here is the call graph for this function:

◆ perf_counts__new()

struct perf_counts* perf_counts__new ( int  ncpus,
int  nthreads 
)

Definition at line 8 of file counts.c.

Here is the call graph for this function:

◆ perf_evsel__alloc_counts()

int perf_evsel__alloc_counts ( struct perf_evsel evsel,
int  ncpus,
int  nthreads 
)

Definition at line 45 of file counts.c.

Here is the call graph for this function:

◆ perf_evsel__free_counts()

void perf_evsel__free_counts ( struct perf_evsel evsel)

Definition at line 51 of file counts.c.

Here is the call graph for this function:

◆ perf_evsel__reset_counts()

void perf_evsel__reset_counts ( struct perf_evsel evsel)

Definition at line 40 of file counts.c.

Here is the call graph for this function: