stress-ng  0.13.05
About: stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.
  Fossies Dox: stress-ng-0.13.05.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

stress-get.c File Reference
#include "stress-ng.h"
Include dependency graph for stress-get.c:

Go to the source code of this file.

Data Structures

struct  stress_rusage_t


#define _DEFAULT_SOURCE   1
#define _BSD_SOURCE   1
#define GIDS_MAX   (1024)
#define MOUNTS_MAX   (256)


static void stress_segv_handler (int num)
static int stress_get (const stress_args_t *args)


static const stress_help_t help []
static const stress_rusage_t rusages []
static const int rlimits []
static sigjmp_buf jmp_env
stressor_info_t stress_get_info

Macro Definition Documentation


#define _BSD_SOURCE   1

Definition at line 28 of file stress-get.c.


#define _DEFAULT_SOURCE   1

Definition at line 27 of file stress-get.c.


#define GIDS_MAX   (1024)

Definition at line 30 of file stress-get.c.


#define MOUNTS_MAX   (256)

Definition at line 31 of file stress-get.c.

Function Documentation

◆ stress_get()

◆ stress_segv_handler()

static void stress_segv_handler ( int  num)

Definition at line 132 of file stress-get.c.

References jmp_env.

Referenced by stress_get().

Variable Documentation

◆ help

const stress_help_t help[]
Initial value:
= {
{ NULL, "get N", "start N workers exercising the get*() system calls" },
{ NULL, "get-ops N", "stop after N get bogo operations" },

Definition at line 33 of file stress-get.c.

◆ jmp_env

sigjmp_buf jmp_env

Definition at line 130 of file stress-get.c.

Referenced by stress_get(), and stress_segv_handler().

◆ rlimits

const int rlimits[]

Definition at line 71 of file stress-get.c.

Referenced by stress_get().

◆ rusages

const stress_rusage_t rusages[]
Initial value:
= {
{ INT_MIN, "INT_MIN", false },
{ INT_MAX, "INT_MAX", false },

Definition at line 45 of file stress-get.c.

Referenced by stress_get().

◆ stress_get_info

stressor_info_t stress_get_info
Initial value:
= {
.stressor = stress_get,
.class = (1UL << 8 ) ,
static int stress_get(const stress_args_t *args)
Definition: stress-get.c:143
static const stress_help_t help[]
Definition: stress-get.c:33

Definition at line 722 of file stress-get.c.