- java.lang.Object
-
- de.ibapl.jnhw.common.memory.AbstractNativeMemory
-
- de.ibapl.jnhw.common.memory.OpaqueMemory32
-
- de.ibapl.jnhw.common.memory.Struct32
-
- de.ibapl.jnhw.posix.Sched.Sched_param
-
- All Implemented Interfaces:
Native
- Enclosing class:
- Sched
public static class Sched.Sched_param extends Struct32
POSIX:structure sched_param.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
OpaqueMemory32.OpaqueMemory32Producer<T extends OpaqueMemory32,P extends AbstractNativeMemory>
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
AbstractNativeMemory.NativeMemoryAlignment
-
-
Field Summary
-
Fields inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
sizeInBytes
-
Fields inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
baseAddress, LOG, memoryOwner
-
-
Constructor Summary
Constructors Constructor Description Sched_param()Sched_param(boolean clearMem)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intalignof()static intoffsetof_Sched_ss_init_budget()static intoffsetof_Sched_ss_repl_period()intsched_priority()Process or thread execution scheduling priority.voidsched_priority(int sched_priority)Process or thread execution scheduling priority.Time.Timespecsched_ss_init_budget()intsched_ss_low_priority()Low scheduling priority for sporadic server.voidsched_ss_low_priority(int sched_ss_low_priority)Low scheduling priority for sporadic server.intsched_ss_max_repl()Maximum pending replenishments for sporadic server.voidsched_ss_max_repl(int sched_ss_max_repl)Maximum pending replenishments for sporadic server.Time.Timespecsched_ss_repl_period()static intsizeof()Get the real size of struct sched_param natively.-
Methods inherited from class de.ibapl.jnhw.common.memory.Struct32
getBaseDataType, nativeToHexString
-
Methods inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
calcNextOffset, clear, copy, copy, equals, getByte, hashCode, memset, nativeToString, nativeToString, offsetof, printMemory, printMemory, setByte, toBytes, toString
-
Methods inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
ENOMEM, isSameAddress
-
-
-
-
Method Detail
-
sizeof
@SizeOf public static int sizeof()
Get the real size of struct sched_param natively.- Returns:
- the native value sizeof(struct sched_param).
-
alignof
@AlignOf public static int alignof()
-
offsetof_Sched_ss_init_budget
public static int offsetof_Sched_ss_init_budget() throws NoSuchNativeTypeMemberException- Throws:
NoSuchNativeTypeMemberException
-
offsetof_Sched_ss_repl_period
public static int offsetof_Sched_ss_repl_period() throws NoSuchNativeTypeMemberException- Throws:
NoSuchNativeTypeMemberException
-
sched_priority
public int sched_priority()
Process or thread execution scheduling priority. POSIX:structure sched_param.- Returns:
- the native value of sched_priority.
-
sched_priority
public void sched_priority(int sched_priority)
Process or thread execution scheduling priority. POSIX:structure sched_param.- Parameters:
sched_priority- the value of sched_priority to be set natively.
-
sched_ss_init_budget
public Time.Timespec sched_ss_init_budget() throws NoSuchNativeTypeMemberException
- Throws:
NoSuchNativeTypeMemberException
-
sched_ss_low_priority
public int sched_ss_low_priority() throws NoSuchNativeTypeMemberExceptionLow scheduling priority for sporadic server. POSIX:structure sched_param.- Returns:
- the native value of sched_ss_low_priority.
- Throws:
NoSuchNativeTypeMemberException- if sched_ss_low_priority does not exists.
-
sched_ss_low_priority
public void sched_ss_low_priority(int sched_ss_low_priority) throws NoSuchNativeTypeMemberExceptionLow scheduling priority for sporadic server. POSIX:structure sched_param.- Parameters:
sched_ss_low_priority- the value of sched_ss_low_priority to be set natively.- Throws:
NoSuchNativeTypeMemberException- if sched_ss_low_priority does not exists.
-
sched_ss_max_repl
public int sched_ss_max_repl() throws NoSuchNativeTypeMemberExceptionMaximum pending replenishments for sporadic server. POSIX:structure sched_param.- Returns:
- the native value of sched_ss_max_repl.
- Throws:
NoSuchNativeTypeMemberException- if sched_ss_max_repl does not exists.
-
sched_ss_max_repl
public void sched_ss_max_repl(int sched_ss_max_repl) throws NoSuchNativeTypeMemberExceptionMaximum pending replenishments for sporadic server. POSIX:structure sched_param.- Parameters:
sched_ss_max_repl- the value of sched_ss_max_repl to be set natively.- Throws:
NoSuchNativeTypeMemberException- if sched_ss_max_repl does not exists.
-
sched_ss_repl_period
public Time.Timespec sched_ss_repl_period() throws NoSuchNativeTypeMemberException
- Throws:
NoSuchNativeTypeMemberException
-
-