Linux Kernel
3.7.1
|
#include <linux/hrtimer.h>
#include <linux/smp.h>
#include <linux/slab.h>
#include <asm/cell-pmu.h>
#include <asm/time.h>
#include "pr_util.h"
Go to the source code of this file.
Macros | |
#define | SCALE_SHIFT 14 |
#define | NUM_SPU_BITS_TRBUF 16 |
#define | SPUS_PER_TB_ENTRY 4 |
#define | SPU_PC_MASK 0xFFFF |
Functions | |
DEFINE_SPINLOCK (oprof_spu_smpl_arry_lck) | |
void | set_spu_profiling_frequency (unsigned int freq_khz, unsigned int cycles_reset) |
int | start_spu_profiling_cycles (unsigned int cycles_reset) |
void | start_spu_profiling_events (void) |
void | stop_spu_profiling_cycles (void) |
void | stop_spu_profiling_events (void) |
Variables | |
int | spu_prof_running |
unsigned long | oprof_spu_smpl_arry_lck_flags |
#define NUM_SPU_BITS_TRBUF 16 |
Definition at line 40 of file spu_profiler.c.
#define SCALE_SHIFT 14 |
Definition at line 22 of file spu_profiler.c.
#define SPU_PC_MASK 0xFFFF |
Definition at line 43 of file spu_profiler.c.
#define SPUS_PER_TB_ENTRY 4 |
Definition at line 41 of file spu_profiler.c.
DEFINE_SPINLOCK | ( | oprof_spu_smpl_arry_lck | ) |
Definition at line 48 of file spu_profiler.c.
Definition at line 202 of file spu_profiler.c.
Definition at line 233 of file spu_profiler.c.
Definition at line 241 of file spu_profiler.c.
Definition at line 249 of file spu_profiler.c.
unsigned long oprof_spu_smpl_arry_lck_flags |
Definition at line 46 of file spu_profiler.c.
int spu_prof_running |
Definition at line 37 of file spu_profiler.c.