本文整理汇总了C++中slurm_acct_storage_init函数的典型用法代码示例。如果您正苦于以下问题:C++ slurm_acct_storage_init函数的具体用法?C++ slurm_acct_storage_init怎么用?C++ slurm_acct_storage_init使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了slurm_acct_storage_init函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: acct_storage_g_add_wckeys
extern int acct_storage_g_add_wckeys(void *db_conn, uint32_t uid,
List wckey_list)
{
if (slurm_acct_storage_init(NULL) < 0)
return SLURM_ERROR;
return (*(g_acct_storage_context->ops.add_wckeys))
(db_conn, uid, wckey_list);
}
开发者ID:VURM,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例2: acct_storage_g_remove_qos
extern List acct_storage_g_remove_qos(void *db_conn, uint32_t uid,
slurmdb_qos_cond_t *qos_cond)
{
if (slurm_acct_storage_init(NULL) < 0)
return NULL;
return (*(g_acct_storage_context->ops.remove_qos))
(db_conn, uid, qos_cond);
}
开发者ID:VURM,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例3: jobacct_storage_g_archive_load
/*
* load expired info into the storage
*/
extern int jobacct_storage_g_archive_load(void *db_conn,
slurmdb_archive_rec_t *arch_rec)
{
if (slurm_acct_storage_init(NULL) < 0)
return SLURM_ERROR;
return (*(ops.archive_load))(db_conn, arch_rec);
}
开发者ID:Q-Leap-Networks,项目名称:qlustar-slurm,代码行数:11,代码来源:slurm_accounting_storage.c
示例4: acct_storage_g_add_associations
extern int acct_storage_g_add_associations(void *db_conn, uint32_t uid,
List association_list)
{
if (slurm_acct_storage_init(NULL) < 0)
return SLURM_ERROR;
return (*(g_acct_storage_context->ops.add_associations))
(db_conn, uid, association_list);
}
开发者ID:VURM,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例5: acct_storage_g_get_reservations
extern List acct_storage_g_get_reservations(void *db_conn, uint32_t uid,
slurmdb_reservation_cond_t *resv_cond)
{
if (slurm_acct_storage_init(NULL) < 0)
return NULL;
return (*(g_acct_storage_context->ops.get_resvs))(db_conn, uid,
resv_cond);
}
开发者ID:VURM,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例6: jobacct_storage_g_get_jobs_cond
/*
* get info from the storage
* returns List of job_rec_t *
* note List needs to be freed when called
*/
extern List jobacct_storage_g_get_jobs_cond(void *db_conn, uint32_t uid,
slurmdb_job_cond_t *job_cond)
{
if (slurm_acct_storage_init(NULL) < 0)
return NULL;
return (*(g_acct_storage_context->ops.get_jobs_cond))
(db_conn, uid, job_cond);
}
开发者ID:VURM,项目名称:slurm,代码行数:13,代码来源:slurm_accounting_storage.c
示例7: acct_storage_g_remove_coord
extern List acct_storage_g_remove_coord(void *db_conn, uint32_t uid,
List acct_list,
slurmdb_user_cond_t *user_cond)
{
if (slurm_acct_storage_init(NULL) < 0)
return NULL;
return (*(ops.remove_coord))(db_conn, uid, acct_list, user_cond);
}
开发者ID:damienfrancois,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例8: acct_storage_g_get_problems
extern List acct_storage_g_get_problems(void *db_conn, uint32_t uid,
slurmdb_association_cond_t *assoc_cond)
{
if (slurm_acct_storage_init(NULL) < 0)
return NULL;
return (*(g_acct_storage_context->ops.get_problems))
(db_conn, uid, assoc_cond);
}
开发者ID:VURM,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例9: acct_storage_g_modify_res
extern List acct_storage_g_modify_res(void *db_conn, uint32_t uid,
slurmdb_res_cond_t *res_cond,
slurmdb_res_rec_t *res)
{
if (slurm_acct_storage_init(NULL) < 0)
return NULL;
return (*(ops.modify_res))(db_conn, uid, res_cond, res);
}
开发者ID:damienfrancois,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例10: acct_storage_g_modify_wckeys
extern List acct_storage_g_modify_wckeys(void *db_conn, uint32_t uid,
slurmdb_wckey_cond_t *wckey_cond,
slurmdb_wckey_rec_t *wckey)
{
if (slurm_acct_storage_init(NULL) < 0)
return NULL;
return (*(ops.modify_wckeys))(db_conn, uid, wckey_cond, wckey);
}
开发者ID:damienfrancois,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例11: acct_storage_g_modify_clusters
extern List acct_storage_g_modify_clusters(void *db_conn, uint32_t uid,
slurmdb_cluster_cond_t *cluster_cond,
slurmdb_cluster_rec_t *cluster)
{
if (slurm_acct_storage_init(NULL) < 0)
return NULL;
return (*(ops.modify_clusters))(db_conn, uid, cluster_cond, cluster);
}
开发者ID:damienfrancois,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例12: acct_storage_g_modify_accounts
extern List acct_storage_g_modify_accounts(void *db_conn, uint32_t uid,
slurmdb_account_cond_t *acct_cond,
slurmdb_account_rec_t *acct)
{
if (slurm_acct_storage_init(NULL) < 0)
return NULL;
return (*(ops.modify_accts))(db_conn, uid, acct_cond, acct);
}
开发者ID:damienfrancois,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例13: acct_storage_g_add_coord
extern int acct_storage_g_add_coord(void *db_conn, uint32_t uid,
List acct_list,
slurmdb_user_cond_t *user_cond)
{
if (slurm_acct_storage_init(NULL) < 0)
return SLURM_ERROR;
return (*(ops.add_coord))(db_conn, uid, acct_list, user_cond);
}
开发者ID:damienfrancois,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例14:
extern void *acct_storage_g_get_connection(
const slurm_trigger_callbacks_t *callbacks,
int conn_num, bool rollback,char *cluster_name)
{
if (slurm_acct_storage_init(NULL) < 0)
return NULL;
return (*(ops.get_conn))(callbacks, conn_num, rollback, cluster_name);
}
开发者ID:damienfrancois,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例15: acct_storage_g_get_assocs
extern List acct_storage_g_get_assocs(
void *db_conn, uint32_t uid,
slurmdb_assoc_cond_t *assoc_cond)
{
if (slurm_acct_storage_init(NULL) < 0)
return NULL;
return (*(ops.get_assocs))(db_conn, uid, assoc_cond);
}
开发者ID:damienfrancois,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例16: acct_storage_g_get_accounts
extern List acct_storage_g_get_accounts(void *db_conn, uint32_t uid,
slurmdb_account_cond_t *acct_cond)
{
if (slurm_acct_storage_init(NULL) < 0)
return NULL;
return (*(g_acct_storage_context->ops.get_accts))
(db_conn, uid, acct_cond);
}
开发者ID:VURM,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例17: acct_storage_g_get_usage
extern int acct_storage_g_get_usage(void *db_conn, uint32_t uid,
void *in, int type,
time_t start, time_t end)
{
if (slurm_acct_storage_init(NULL) < 0)
return SLURM_ERROR;
return (*(ops.get_usage))(db_conn, uid, in, type, start, end);
}
开发者ID:damienfrancois,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例18: acct_storage_g_get_wckeys
extern List acct_storage_g_get_wckeys(void *db_conn, uint32_t uid,
slurmdb_wckey_cond_t *wckey_cond)
{
if (slurm_acct_storage_init(NULL) < 0)
return NULL;
return (*(g_acct_storage_context->ops.get_wckeys))(db_conn, uid,
wckey_cond);
}
开发者ID:VURM,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例19: acct_storage_g_roll_usage
extern int acct_storage_g_roll_usage(void *db_conn,
time_t sent_start, time_t sent_end,
uint16_t archive_data)
{
if (slurm_acct_storage_init(NULL) < 0)
return SLURM_ERROR;
return (*(ops.roll_usage))(db_conn, sent_start, sent_end, archive_data);
}
开发者ID:damienfrancois,项目名称:slurm,代码行数:8,代码来源:slurm_accounting_storage.c
示例20: jobacct_storage_g_step_complete
/*
* load into the storage the end of a job step
*/
extern int jobacct_storage_g_step_complete(void *db_conn,
struct step_record *step_ptr)
{
if (slurm_acct_storage_init(NULL) < 0)
return SLURM_ERROR;
return (*(g_acct_storage_context->ops.step_complete))(db_conn,
step_ptr);
}
开发者ID:VURM,项目名称:slurm,代码行数:11,代码来源:slurm_accounting_storage.c
注:本文中的slurm_acct_storage_init函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论