BRL-CAD

Per-CPU statistics and resources. More...

Collaboration diagram for The Resource Structure:

Files

file  resource.h
 

Data Structures

struct  resource
 

Macros

#define RESOURCE_NULL   ((struct resource *)0)
 
#define RT_CK_RESOURCE(_p)   BU_CKMAG(_p, RESOURCE_MAGIC, "struct resource")
 
#define RT_RESOURCE_INIT_ZERO   { RESOURCE_MAGIC, 0, BU_LIST_INIT_ZERO, BU_PTBL_INIT_ZERO, 0, 0, 0, BU_LIST_INIT_ZERO, 0, 0, 0, BU_LIST_INIT_ZERO, BU_LIST_INIT_ZERO, BU_LIST_INIT_ZERO, NULL, 0, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0, BU_PTBL_INIT_ZERO, NULL, 0, 0, 0, NULL, BU_PTBL_INIT_ZERO }
 

Variables

struct resource rt_uniresource
 default. Defined in librt/globals.c More...
 
int RT_SEM_WORKER
 
int RT_SEM_MODEL
 
int RT_SEM_RESULTS
 
int RT_SEM_TREE0
 
int RT_SEM_TREE1
 
int RT_SEM_TREE2
 
int RT_SEM_TREE3
 

Detailed Description

Per-CPU statistics and resources.

Macro Definition Documentation

◆ RESOURCE_NULL

#define RESOURCE_NULL   ((struct resource *)0)

Definition at line 110 of file resource.h.

◆ RT_CK_RESOURCE

#define RT_CK_RESOURCE (   _p)    BU_CKMAG(_p, RESOURCE_MAGIC, "struct resource")

Definition at line 111 of file resource.h.

◆ RT_RESOURCE_INIT_ZERO

#define RT_RESOURCE_INIT_ZERO   { RESOURCE_MAGIC, 0, BU_LIST_INIT_ZERO, BU_PTBL_INIT_ZERO, 0, 0, 0, BU_LIST_INIT_ZERO, 0, 0, 0, BU_LIST_INIT_ZERO, BU_LIST_INIT_ZERO, BU_LIST_INIT_ZERO, NULL, 0, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0, BU_PTBL_INIT_ZERO, NULL, 0, 0, 0, NULL, BU_PTBL_INIT_ZERO }

Definition at line 112 of file resource.h.

Variable Documentation

◆ rt_uniresource

struct resource rt_uniresource
extern

default. Defined in librt/globals.c

Resources for uniprocessor

◆ RT_SEM_WORKER

int RT_SEM_WORKER
extern

Definition of global parallel-processing semaphores.

res_syscall is now BU_SEM_SYSCALL

◆ RT_SEM_MODEL

int RT_SEM_MODEL
extern

◆ RT_SEM_RESULTS

int RT_SEM_RESULTS
extern

◆ RT_SEM_TREE0

int RT_SEM_TREE0
extern

◆ RT_SEM_TREE1

int RT_SEM_TREE1
extern

◆ RT_SEM_TREE2

int RT_SEM_TREE2
extern

◆ RT_SEM_TREE3

int RT_SEM_TREE3
extern