Linux Perf
counts.c File Reference
#include <errno.h>
#include <stdlib.h>
#include "evsel.h"
#include "counts.h"
#include "util.h"
Include dependency graph for counts.c:

Go to the source code of this file.

Functions

struct perf_countsperf_counts__new (int ncpus, int nthreads)
 
void perf_counts__delete (struct perf_counts *counts)
 
static void perf_counts__reset (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__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_counts__reset()

static void perf_counts__reset ( struct perf_counts counts)
static

Definition at line 35 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: