public class Perf extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ANY_CPU |
static int |
ANY_PID |
static int |
CURRENT_PID |
static boolean |
IS_SUPPORTED |
| Constructor and Description |
|---|
Perf() |
| Modifier and Type | Method and Description |
|---|---|
static PerfCounter |
open(PerfEvent event,
int pid,
int cpu,
PerfOption... options) |
static PerfCounter |
open(PerfEvent event,
String cgroup,
int cpu,
PerfOption... options) |
public static final boolean IS_SUPPORTED
public static final int CURRENT_PID
public static final int ANY_PID
public static final int ANY_CPU
public static PerfCounter open(PerfEvent event, int pid, int cpu, PerfOption... options) throws IOException
IOExceptionpublic static PerfCounter open(PerfEvent event, String cgroup, int cpu, PerfOption... options) throws IOException
IOExceptionCopyright © 2019. All rights reserved.