1
/* $Id: ncbi_lbsmd_stub.c,v 6.7 2005/05/04 16:16:08 lavr Exp $
1
/* $Id: ncbi_lbsmd_stub.c,v 6.10 2006/03/06 20:28:21 lavr Exp $
2
2
* ===========================================================================
4
4
* PUBLIC DOMAIN NOTICE
34
34
#include <connect/ncbi_service_misc.h>
37
const SSERV_VTable* SERV_LBSMD_Open(SERV_ITER iter,
38
SSERV_Info** info, HOST_INFO* hinfo)
44
extern char* LBSMD_GetConfig(void)
38
const SSERV_VTable *SERV_LBSMD_Open(SERV_ITER iter,
41
int/*bool*/ dispd_to_follow)
47
extern const char* LBSMD_GetConfig(void)
54
extern ESwitch LBSMD_KeepHeapAttached(ESwitch sw/*ignored*/)
56
/* ignore any new settings, always return Off */
60
/*ARGSUSED*/ /*DEPRECATED*/
51
61
extern ESwitch LBSM_KeepHeapAttached(ESwitch sw/*ignored*/)
53
/* ignore any new settings, always return Off */
58
int LBSM_HINFO_CpuCount(const void* load_ptr)
64
int LBSM_HINFO_TaskCount(const void* load_ptr)
70
int/*bool*/ LBSM_HINFO_LoadAverage(const void* load_ptr, double lavg[2])
76
int/*bool*/ LBSM_HINFO_Status(const void* load_ptr, double status[2])
82
int/*bool*/ LBSM_HINFO_BLASTParams(const void* load_ptr, unsigned int blast[8])
68
extern HEAP LBSMD_GetHeapCopy(TNCBI_Time time/*ignored*/)
75
int LBSM_HINFO_CpuCount(LBSM_HINFO hinfo)
82
int LBSM_HINFO_TaskCount(LBSM_HINFO hinfo)
89
int/*bool*/ LBSM_HINFO_LoadAverage(LBSM_HINFO hinfo, double lavg[2])
96
int/*bool*/ LBSM_HINFO_Status(LBSM_HINFO hinfo, double status[2])
84
98
return 0/*failure*/;
89
103
* --------------------------------------------------------------------------
90
104
* $Log: ncbi_lbsmd_stub.c,v $
105
* Revision 6.10 2006/03/06 20:28:21 lavr
106
* Comments; use proper LBSM_HINFO in all getters
108
* Revision 6.9 2006/03/06 14:42:04 lavr
109
* SERV_LBSMD_Open() -- use new proto
111
* Revision 6.8 2006/03/05 17:44:12 lavr
112
* Private API changes; cached HEAP copy; BLAST counters dropped
91
114
* Revision 6.7 2005/05/04 16:16:08 lavr
92
115
* +<connect/ncbi_service_misc.h>, +LBSMD_GetConfig(), +LBSM_KeepHeapAttached()