Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
3196eab1
Commit
3196eab1
authored
10 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
Minor reformatting of extern definitions.
parent
a99fec24
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/priority/multifactor/priority_multifactor.c
+4
-0
4 additions, 0 deletions
src/plugins/priority/multifactor/priority_multifactor.c
src/plugins/priority/multifactor/priority_multifactor.h
+2
-7
2 additions, 7 deletions
src/plugins/priority/multifactor/priority_multifactor.h
with
6 additions
and
7 deletions
src/plugins/priority/multifactor/priority_multifactor.c
+
4
−
0
View file @
3196eab1
...
...
@@ -161,6 +161,10 @@ static double decay_factor = 1; /* The decay factor when decaying time. */
/* variables defined in prirority_multifactor.h */
bool
priority_debug
=
0
;
extern
void
priority_p_set_assoc_usage
(
slurmdb_association_rec_t
*
assoc
);
extern
double
priority_p_calc_fs_factor
(
long
double
usage_efctv
,
long
double
shares_norm
);
/*
* apply decay factor to all associations usage_raw
* IN: real_decay - decay to be applied to each associations' used
...
...
This diff is collapsed.
Click to expand it.
src/plugins/priority/multifactor/priority_multifactor.h
+
2
−
7
View file @
3196eab1
...
...
@@ -51,19 +51,14 @@
#include
"src/slurmctld/locks.h"
extern
void
priority_p_set_assoc_usage
(
slurmdb_association_rec_t
*
assoc
);
extern
double
priority_p_calc_fs_factor
(
long
double
usage_efctv
,
long
double
shares_norm
);
extern
bool
decay_apply_new_usage
(
struct
job_record
*
job_ptr
,
time_t
*
start_time_ptr
);
extern
void
set_priority_factors
(
time_t
start_time
,
struct
job_record
*
job_ptr
);
extern
void
decay_apply_weighted_factors
(
struct
job_record
*
job_ptr
,
time_t
*
start_time_ptr
);
extern
void
set_priority_factors
(
time_t
start_time
,
struct
job_record
*
job_ptr
);
extern
bool
priority_debug
;
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment