/dports/sysutils/slurm-wlm/slurm-20.02.7/src/common/ |
H A D | slurm_jobacct_gather.c | 205 if (jobacct) { in _free_tres_usage() 773 if (jobacct) { in jobacct_gather_remove_task() 775 jobacct->id.taskid, jobacct->pid); in jobacct_gather_remove_task() 781 return jobacct; in jobacct_gather_remove_task() 899 return jobacct; in jobacctinfo_create() 907 xfree(jobacct); in jobacctinfo_destroy() 926 if (!jobacct) { in jobacctinfo_setinfo() 940 if (jobacct) { in jobacctinfo_setinfo() 948 if (jobacct) { in jobacctinfo_setinfo() 1000 xassert(jobacct); in jobacctinfo_getinfo() [all …]
|
H A D | slurm_jobacct_gather.h | 158 extern int jobacctinfo_setinfo(jobacctinfo_t *jobacct, 161 extern int jobacctinfo_getinfo(jobacctinfo_t *jobacct, 164 extern void jobacctinfo_pack(jobacctinfo_t *jobacct, 167 extern int jobacctinfo_unpack(jobacctinfo_t **jobacct, 173 extern void jobacctinfo_2_stats(slurmdb_stats_t *stats, jobacctinfo_t *jobacct);
|
H A D | stepd_api.c | 1166 jobacctinfo_pack(sent->jobacct, protocol_version, in stepd_completion() 1204 if (!(resp->jobacct = jobacctinfo_create(NULL))) in stepd_stat_jobacct() 1219 rc = jobacctinfo_getinfo(resp->jobacct, JOBACCT_DATA_PIPE, &fd, in stepd_stat_jobacct() 1228 jobacctinfo_destroy(resp->jobacct); in stepd_stat_jobacct() 1229 resp->jobacct = NULL; in stepd_stat_jobacct()
|
H A D | slurmdbd_defs.h | 351 jobacctinfo_t *jobacct; /* status info */ member
|
H A D | slurm_protocol_defs.h | 674 jobacctinfo_t *jobacct; member 693 jobacctinfo_t *jobacct; member
|
H A D | slurmdbd_defs.c | 1188 jobacctinfo_destroy(msg->jobacct); in slurmdbd_free_step_complete_msg()
|
H A D | slurmdbd_pack.c | 901 jobacctinfo_pack((struct jobacctinfo *)msg->jobacct, in _pack_step_complete_msg() 926 jobacctinfo_unpack((struct jobacctinfo **)&msg_ptr->jobacct, in _unpack_step_complete_msg()
|
H A D | slurm_protocol_defs.c | 879 jobacctinfo_destroy(msg->jobacct); in slurm_free_update_step_msg() 1379 jobacctinfo_destroy(msg->jobacct); in slurm_free_complete_batch_script_msg() 4515 jobacctinfo_destroy(msg->jobacct); in slurm_free_step_complete_msg() 4524 jobacctinfo_destroy(msg->jobacct); in slurm_free_job_step_stat()
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/plugins/jobacct_gather/common/ |
H A D | common_jag.c | 626 if (jobacct) { in _get_precs() 629 &jobacct->energy); in _get_precs() 651 jobacct ? jobacct->tres_count : 0); in _get_precs() 741 jobacct ? jobacct->tres_count : 0); in _get_precs() 796 jobacct->pid); in _record_profile() 828 et = (jobacct->cur_time - jobacct->last_time); in _record_profile() 1021 &jobacct->energy); in jag_common_poll_data() 1085 jobacct->act_cpufreq = in jag_common_poll_data() 1091 jobacct->pid, in jag_common_poll_data() 1113 jobacct->cur_time = ct; in jag_common_poll_data() [all …]
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/plugins/accounting_storage/mysql/ |
H A D | as_mysql_convert.c | 284 jobacctinfo_t *jobacct = NULL; in _convert_step_table_pre() local 327 jobacct = jobacctinfo_create(NULL); in _convert_step_table_pre() 331 jobacct->tres_usage_in_max); in _convert_step_table_pre() 337 jobacct->tres_usage_in_tot); in _convert_step_table_pre() 339 jobacct->tres_usage_out_max); in _convert_step_table_pre() 345 jobacct->tres_usage_out_tot); in _convert_step_table_pre() 354 jobacct->tres_usage_in_min_nodeid[ in _convert_step_table_pre() 358 jobacct->tres_usage_in_min_taskid[ in _convert_step_table_pre() 440 jobacct->tres_usage_out_max[ in _convert_step_table_pre() 452 jobacct->tres_usage_out_tot[ in _convert_step_table_pre() [all …]
|
H A D | as_mysql_job.c | 1284 struct jobacctinfo *jobacct = (struct jobacctinfo *)step_ptr->jobacct; in as_mysql_step_complete() local 1382 if (jobacct) { in as_mysql_step_complete() 1407 jobacct->tres_ids, in as_mysql_step_complete() 1411 jobacct->tres_ids, in as_mysql_step_complete() 1415 jobacct->tres_ids, in as_mysql_step_complete() 1419 jobacct->tres_ids, in as_mysql_step_complete() 1423 jobacct->tres_ids, in as_mysql_step_complete() 1427 jobacct->tres_ids, in as_mysql_step_complete() 1431 jobacct->tres_ids, in as_mysql_step_complete() 1435 jobacct->tres_ids, in as_mysql_step_complete() [all …]
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/plugins/jobacct_gather/none/ |
H A D | jobacct_gather_none.c | 100 extern void jobacct_gather_p_destroy(struct jobacctinfo *jobacct) in jobacct_gather_p_destroy() argument 105 extern int jobacct_gather_p_setinfo(struct jobacctinfo *jobacct, in jobacct_gather_p_setinfo() argument 112 extern int jobacct_gather_p_getinfo(struct jobacctinfo *jobacct, in jobacct_gather_p_getinfo() argument 118 extern void jobacct_gather_p_pack(struct jobacctinfo *jobacct, Buf buffer) in jobacct_gather_p_pack() argument 123 extern int jobacct_gather_p_unpack(struct jobacctinfo **jobacct, Buf buffer) in jobacct_gather_p_unpack() argument 125 *jobacct = NULL; in jobacct_gather_p_unpack() 177 struct jobacctinfo *jobacct) in jobacct_gather_p_2_stats() argument
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/plugins/accounting_storage/filetxt/ |
H A D | accounting_storage_filetxt.c | 875 struct jobacctinfo *jobacct = (struct jobacctinfo *)step_ptr->jobacct; in jobacct_storage_p_step_complete() local 891 if (jobacct == NULL) { in jobacct_storage_p_step_complete() 894 jobacct = &dummy_jobacct; in jobacct_storage_p_step_complete() 930 ave_pages = jobacct->tres_usage_in_tot[ in jobacct_storage_p_step_complete() 953 jobacct->user_cpu_sec in jobacct_storage_p_step_complete() 954 + jobacct->sys_cpu_sec, in jobacct_storage_p_step_complete() 956 jobacct->user_cpu_usec in jobacct_storage_p_step_complete() 957 + jobacct->sys_cpu_usec, in jobacct_storage_p_step_complete() 958 jobacct->user_cpu_sec, /* user seconds */ in jobacct_storage_p_step_complete() 960 jobacct->sys_cpu_sec, /* system seconds */ in jobacct_storage_p_step_complete() [all …]
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/scontrol/ |
H A D | update_step.c | 138 step_msg->jobacct = jobacctinfo_create(NULL); in _parse_comp_file() 142 step_msg->jobacct->user_cpu_sec = in _parse_comp_file() 144 step_msg->jobacct->sys_cpu_sec = in _parse_comp_file() 146 step_msg->jobacct->tres_usage_in_min[TRES_ARRAY_CPU] = in _parse_comp_file() 147 step_msg->jobacct->user_cpu_sec in _parse_comp_file() 148 + step_msg->jobacct->sys_cpu_sec; in _parse_comp_file() 149 step_msg->jobacct->tres_usage_in_max[TRES_ARRAY_MEM] = in _parse_comp_file()
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/slurmd/slurmstepd/ |
H A D | req.c | 1149 jobacctinfo_t *jobacct = NULL; in _wait_extern_pid() local 1164 if (jobacct) { in _wait_extern_pid() 1166 jobacctinfo_aggregate(job->jobacct, jobacct); in _wait_extern_pid() 1167 jobacctinfo_destroy(jobacct); in _wait_extern_pid() 1619 jobacctinfo_t *jobacct = NULL; in _handle_completion() local 1700 jobacctinfo_aggregate(step_complete.jobacct, jobacct); in _handle_completion() 1702 jobacctinfo_destroy(jobacct); in _handle_completion() 1730 jobacctinfo_t *jobacct = NULL; in _handle_stat_jobacct() local 1748 jobacct = jobacctinfo_create(NULL); in _handle_stat_jobacct() 1764 jobacctinfo_destroy(jobacct); in _handle_stat_jobacct() [all …]
|
H A D | mgr.c | 757 jobacctinfo_aggregate(step_complete.jobacct, job->jobacct); in _one_step_complete_msg() 938 jobacctinfo_t *jobacct = NULL; in _spawn_job_container() local 1128 if (jobacct) { in _spawn_job_container() 1129 jobacctinfo_setinfo(jobacct, in _spawn_job_container() 1133 _local_jobacctinfo_aggregate(job->jobacct, jobacct); in _spawn_job_container() 1134 jobacctinfo_destroy(jobacct); in _spawn_job_container() 2094 jobacctinfo_t *jobacct = NULL; in _wait_for_any_task() local 2122 if (jobacct) { in _wait_for_any_task() 2123 jobacctinfo_setinfo(jobacct, in _wait_for_any_task() 2138 _local_jobacctinfo_aggregate(job->jobacct, jobacct); in _wait_for_any_task() [all …]
|
H A D | slurmstepd.c | 550 step_complete.jobacct = jobacctinfo_create(NULL); in _init_from_slurmd() 689 job->jobacct = jobacctinfo_create(NULL); in _step_setup() 722 jobacctinfo_destroy(job->jobacct); in _step_cleanup() 746 jobacctinfo_destroy(step_complete.jobacct); in _step_cleanup()
|
H A D | slurmstepd.h | 62 jobacctinfo_t *jobacct; member
|
H A D | slurmstepd_job.h | 226 jobacctinfo_t *jobacct; member
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/sstat/ |
H A D | sstat.c | 179 if (step_stat->jobacct) { in _do_stat() 181 step_stat->jobacct->tres_list) { in _do_stat() 186 step_stat->jobacct->tres_list); in _do_stat() 192 step_stat->jobacct->tres_list = NULL; in _do_stat() 204 step_stat->jobacct); in _do_stat()
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/plugins/ext_sensors/rrd/ |
H A D | ext_sensors_rrd.c | 676 if (step_rec->jobacct && in ext_sensors_p_get_stependdata() 677 (!step_rec->jobacct->energy.consumed_energy in ext_sensors_p_get_stependdata() 678 || (step_rec->jobacct->energy.consumed_energy == in ext_sensors_p_get_stependdata() 680 step_rec->jobacct->energy.consumed_energy = in ext_sensors_p_get_stependdata()
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/slurmctld/ |
H A D | step_mgr.c | 186 step_ptr->jobacct = jobacctinfo_create(NULL); in _create_step_record() 256 struct jobacctinfo *jobacct = (struct jobacctinfo *)step_ptr->jobacct; in _internal_step_complete() local 264 (jobacct->energy.consumed_energy != NO_VAL64)) { in _internal_step_complete() 268 jobacct->energy.consumed_energy; in _internal_step_complete() 386 jobacctinfo_destroy(step_ptr->jobacct); in _free_step_rec() 3391 req.jobacct = NULL; /* No accounting */ in kill_step_on_node() 3478 jobacctinfo_aggregate(step_ptr->jobacct, req->jobacct); in step_partial_comp() 3483 if (step_ptr->cpu_count && step_ptr->jobacct) in step_partial_comp() 4322 if (req->jobacct) { in update_step() 4393 if (req->jobacct) { in update_step() [all …]
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/contribs/perlapi/libslurm/perl/ |
H A D | step.c | 270 STORE_PTR_FIELD(hv, stat, jobacct, "Slurm::jobacctinfo_t"); in job_step_stat_to_hv()
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/plugins/accounting_storage/slurmdbd/ |
H A D | accounting_storage_slurmdbd.c | 2801 req.jobacct = step_ptr->jobacct; in jobacct_storage_p_step_complete() 2804 req.jobacct = step_ptr->jobacct; in jobacct_storage_p_step_complete()
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/slurmd/slurmd/ |
H A D | req.c | 2673 comp_msg.jobacct = NULL; /* unused */ in _launch_job_fail() 2707 comp_msg.jobacct = NULL; /* unused */ in _launch_job_fail() 2731 resp.jobacct = jobacctinfo_create(NULL); in _abort_step() 2737 jobacctinfo_destroy(resp.jobacct); in _abort_step() 3065 (resp->jobacct)) { in _enforce_job_mem_limit() 3068 resp->jobacct, in _enforce_job_mem_limit() 3073 resp->jobacct, in _enforce_job_mem_limit()
|