4
/*___INFO__MARK_BEGIN__*/
5
/*************************************************************************
7
* The Contents of this file are made available subject to the terms of
8
* the Sun Industry Standards Source License Version 1.2
10
* Sun Microsystems Inc., March, 2001
13
* Sun Industry Standards Source License Version 1.2
14
* =================================================
15
* The contents of this file are subject to the Sun Industry Standards
16
* Source License Version 1.2 (the "License"); You may not use this file
17
* except in compliance with the License. You may obtain a copy of the
18
* License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
20
* Software provided under this License is provided on an "AS IS" basis,
21
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
22
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
23
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
24
* See the License for the specific provisions governing your rights and
25
* obligations concerning the Software.
27
* The Initial Developer of the Original Code is: Sun Microsystems, Inc.
29
* Copyright: 2001 by Sun Microsystems, Inc.
31
* All Rights Reserved.
33
************************************************************************/
34
/*___INFO__MARK_END__*/
36
#include "sge_boundaries.h"
46
* This is the list type we use to sort the joblist
47
* in the sge scheduler
50
FCAT_job_share = FCAT_LOWERBOUND,
57
FCAT_jobrelated_ticket_first,
58
FCAT_jobrelated_ticket_last
62
SGE_ULONG(FCAT_job_share, CULL_DEFAULT) /* all jobs in this functional category have this amount of jobs shares */
63
SGE_ULONG(FCAT_user_share, CULL_DEFAULT) /* all jobs in this functional category have this amount of user shares */
64
SGE_REF(FCAT_user,CULL_ANY_SUBTYPE, CULL_DEFAULT) /* pointer to the user structure */
65
SGE_ULONG(FCAT_project_share, CULL_DEFAULT) /* all jobs in this functional category have this amount of project shares */
66
SGE_REF(FCAT_project,CULL_ANY_SUBTYPE, CULL_DEFAULT) /* pointer to the project structure */
67
SGE_ULONG(FCAT_dept_share, CULL_DEFAULT) /* all jobs in this functional category have this amount of department shares */
68
SGE_REF(FCAT_dept,CULL_ANY_SUBTYPE, CULL_DEFAULT) /* pointer to the department structure */
69
SGE_REF(FCAT_jobrelated_ticket_first, CULL_ANY_SUBTYPE, CULL_DEFAULT) /* pointer to the first element of job ticket list*/
70
SGE_REF(FCAT_jobrelated_ticket_last, CULL_ANY_SUBTYPE, CULL_DEFAULT) /* pointer to the last element in the hob ticket list*/
74
NAME("FCAT_job_share")
75
NAME("FCAT_user_share")
77
NAME("FCAT_project_share")
79
NAME("FCAT_dept_share")
81
NAME("FCAT_jobrelated_ticket_first")
82
NAME("FCAT_jobrelated_ticket_last")
85
#define FCATS sizeof(FCATN)/sizeof(char*)
89
* This is the list type we use to sort the joblist
90
* in the sge scheduler
93
SGEJ_priority = SGEJ_LOWERBOUND,
102
/* a boolean for the sort order */
104
SGEJ_sort_decending = 0,
109
SGE_DOUBLE(SGEJ_priority, CULL_DEFAULT)
110
SGE_ULONG(SGEJ_job_number, CULL_DEFAULT)
111
SGE_STRING(SGEJ_job_name, CULL_DEFAULT)
112
SGE_STRING(SGEJ_owner, CULL_DEFAULT)
113
SGE_ULONG(SGEJ_state, CULL_DEFAULT)
114
SGE_STRING(SGEJ_master_queue, CULL_DEFAULT)
115
SGE_REF(SGEJ_job_reference, JRL_Type, CULL_DEFAULT)
119
NAME("SGEJ_priority")
120
NAME("SGEJ_job_number")
121
NAME("SGEJ_job_name")
124
NAME("SGEJ_master_queue")
125
NAME("SGEJ_job_reference")
130
#define SGEJS sizeof(SGEJN)/sizeof(char*)
134
#endif /* __SGE_EEJOBL_H */