NCBI C++ ToolKit
Functions
ncbi_lbsmd.h File Reference
#include "ncbi_servicep.h"
#include <connect/ncbi_heapmgr.h>
+ Include dependency graph for ncbi_lbsmd.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

const SSERV_VTableSERV_LBSMD_Open (SERV_ITER iter, SSERV_Info **info, HOST_INFO *host_info, int no_dispd)
 
const char * LBSMD_GetConfig (void)
 
HEAP LBSMD_GetHeapCopy (TNCBI_Time time)
 
const char * LBSMD_GetHostParameter (unsigned int addr, const char *name)
 
ESwitch LBSMD_FastHeapAccess (ESwitch onoff)
 
unsigned int LBSMD_GetLocalHostAddress (const void *v)
 
int LBSM_HINFO_CpuCount (const HOST_INFO hinfo)
 
int LBSM_HINFO_CpuUnits (const HOST_INFO hinfo)
 
double LBSM_HINFO_CpuClock (const HOST_INFO hinfo)
 
int LBSM_HINFO_TaskCount (const HOST_INFO hinfo)
 
int LBSM_HINFO_Memusage (const HOST_INFO hinfo, double memusage[5])
 
int LBSM_HINFO_MachineParams (const HOST_INFO hinfo, SHINFO_Params *p)
 
int LBSM_HINFO_PortUsage (const HOST_INFO hinfo, SHINFO_PortUsage ports[], size_t count)
 
int LBSM_HINFO_LoadAverage (const HOST_INFO hinfo, double lavg[2])
 
int LBSM_HINFO_Status (const HOST_INFO hinfo, double status[2])
 
int LBSM_LBSMD (int check_n_lock)
 

Function Documentation

◆ LBSM_HINFO_CpuClock()

double LBSM_HINFO_CpuClock ( const HOST_INFO  hinfo)

Definition at line 1238 of file ncbi_lbsmd.c.

References assert, s_GetSysinfo(), and si.

Referenced by HINFO_CpuClock().

◆ LBSM_HINFO_CpuCount()

int LBSM_HINFO_CpuCount ( const HOST_INFO  hinfo)

Definition at line 1224 of file ncbi_lbsmd.c.

References s_GetSysinfo(), and si.

Referenced by HINFO_CpuCount().

◆ LBSM_HINFO_CpuUnits()

int LBSM_HINFO_CpuUnits ( const HOST_INFO  hinfo)

Definition at line 1231 of file ncbi_lbsmd.c.

References s_GetSysinfo(), and si.

Referenced by HINFO_CpuUnits().

◆ LBSM_HINFO_LoadAverage()

int LBSM_HINFO_LoadAverage ( const HOST_INFO  hinfo,
double  lavg[2] 
)

Definition at line 1311 of file ncbi_lbsmd.c.

References s_GetSysinfo(), and si.

Referenced by HINFO_LoadAverage().

◆ LBSM_HINFO_MachineParams()

int LBSM_HINFO_MachineParams ( const HOST_INFO  hinfo,
SHINFO_Params p 
)

◆ LBSM_HINFO_Memusage()

int LBSM_HINFO_Memusage ( const HOST_INFO  hinfo,
double  memusage[5] 
)

Definition at line 1253 of file ncbi_lbsmd.c.

References s_GetSysinfo(), and si.

Referenced by HINFO_Memusage().

◆ LBSM_HINFO_PortUsage()

int LBSM_HINFO_PortUsage ( const HOST_INFO  hinfo,
SHINFO_PortUsage  ports[],
size_t  count 
)

Definition at line 1293 of file ncbi_lbsmd.c.

References count, n, SHINFO_PortUsage::port, s_GetSysinfo(), si, and SHINFO_PortUsage::used.

Referenced by HINFO_PortUsage().

◆ LBSM_HINFO_Status()

int LBSM_HINFO_Status ( const HOST_INFO  hinfo,
double  status[2] 
)

Definition at line 1321 of file ncbi_lbsmd.c.

References s_GetSysinfo(), and si.

Referenced by HINFO_Status().

◆ LBSM_HINFO_TaskCount()

int LBSM_HINFO_TaskCount ( const HOST_INFO  hinfo)

Definition at line 1246 of file ncbi_lbsmd.c.

References s_GetSysinfo(), and si.

Referenced by HINFO_TaskCount().

◆ LBSM_LBSMD()

int LBSM_LBSMD ( int  check_n_lock)

Definition at line 658 of file ncbi_lbsm_ipc.c.

References CORE_Once, g_LBSM_NOSYSVIPC, LBSM_MUTEX_KEY, LBSM_SEM_PROT, and s_Muxid.

Referenced by s_LBSMD().

◆ LBSMD_FastHeapAccess()

ESwitch LBSMD_FastHeapAccess ( ESwitch  onoff)

Definition at line 1103 of file ncbi_lbsmd.c.

References eDefault, and s_LBSM_FastHeapAccess.

◆ LBSMD_GetConfig()

const char* LBSMD_GetConfig ( void  )

◆ LBSMD_GetHeapCopy()

HEAP LBSMD_GetHeapCopy ( TNCBI_Time  time)

Definition at line 1113 of file ncbi_lbsmd.c.

References s_GetHeapCopy().

◆ LBSMD_GetHostParameter()

const char* LBSMD_GetHostParameter ( unsigned int  addr,
const char *  name 
)

◆ LBSMD_GetLocalHostAddress()

unsigned int LBSMD_GetLocalHostAddress ( const void *  v)

◆ SERV_LBSMD_Open()

const SSERV_VTable* SERV_LBSMD_Open ( SERV_ITER  iter,
SSERV_Info **  info,
HOST_INFO host_info,
int  no_dispd 
)
Modified on Fri Sep 20 14:57:02 2024 by modify_doxy.py rev. 669887