#include "../perf.h"
#include "../util/util.h"
#include <subcmd/parse-options.h>
#include "../builtin.h"
#include "bench.h"
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/wait.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/syscall.h>
#include <linux/time64.h>
#include <pthread.h>
Go to the source code of this file.
◆ LOOPS_DEFAULT
#define LOOPS_DEFAULT 1000000 |
◆ bench_sched_pipe()
int bench_sched_pipe |
( |
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
◆ worker_thread()
static void* worker_thread |
( |
void * |
__tdata | ) |
|
|
static |
◆ bench_sched_pipe_usage
const char* const bench_sched_pipe_usage[] |
|
static |
Initial value:= {
"perf bench sched pipe <options>",
NULL
}
Definition at line 52 of file sched-pipe.c.
◆ loops
◆ options
Initial value:= {
OPT_INTEGER(
'l',
"loop", &
loops,
"Specify number of loops"),
OPT_BOOLEAN(
'T',
"threaded", &
threaded,
"Specify threads/process based task setup"),
}
Definition at line 46 of file sched-pipe.c.
◆ threaded