Package org.lwjgl.odbc
Class SQLPERF
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct SQLPERF {
DWORD TimerResolution;
DWORD SQLidu;
DWORD SQLiduRows;
DWORD SQLSelects;
DWORD SQLSelectRows;
DWORD Transactions;
DWORD SQLPrepares;
DWORD ExecDirects;
DWORD SQLExecutes;
DWORD CursorOpens;
DWORD CursorSize;
DWORD CursorUsed;
LDOUBLE PercentCursorUsed;
LDOUBLE AvgFetchTime;
LDOUBLE AvgCursorSize;
LDOUBLE AvgCursorUsed;
DWORD SQLFetchTime;
DWORD SQLFetchCount;
DWORD CurrentStmtCount;
DWORD MaxOpenStmt;
DWORD SumOpenStmt;
DWORD CurrentConnectionCount;
DWORD MaxConnectionsOpened;
DWORD SumConnectionsOpened;
DWORD SumConnectiontime;
LDOUBLE AvgTimeOpened;
DWORD ServerRndTrips;
DWORD BuffersSent;
DWORD BuffersRec;
DWORD BytesSent;
DWORD BytesRec;
DWORD msExecutionTime;
DWORD msNetWorkServerTime;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionSQLPERF
(ByteBuffer container) Creates aSQLPERF
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptiondouble
AvgCursorSize
(double value) Sets the specified value to theAvgCursorSize
field.double
AvgCursorUsed
(double value) Sets the specified value to theAvgCursorUsed
field.double
AvgFetchTime
(double value) Sets the specified value to theAvgFetchTime
field.double
AvgTimeOpened
(double value) Sets the specified value to theAvgTimeOpened
field.int
BuffersRec
(int value) Sets the specified value to theBuffersRec
field.int
BuffersSent
(int value) Sets the specified value to theBuffersSent
field.int
BytesRec()
BytesRec
(int value) Sets the specified value to theBytesRec
field.int
BytesSent
(int value) Sets the specified value to theBytesSent
field.static SQLPERF
calloc()
Returns a newSQLPERF
instance allocated withmemCalloc
.static SQLPERF.Buffer
calloc
(int capacity) Returns a newSQLPERF.Buffer
instance allocated withmemCalloc
.static SQLPERF.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newSQLPERF.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static SQLPERF
calloc
(MemoryStack stack) Returns a newSQLPERF
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static SQLPERF
Deprecated.static SQLPERF.Buffer
callocStack
(int capacity) Deprecated.static SQLPERF.Buffer
callocStack
(int capacity, MemoryStack stack) Deprecated.static SQLPERF
callocStack
(MemoryStack stack) Deprecated.static SQLPERF
create()
Returns a newSQLPERF
instance allocated withBufferUtils
.static SQLPERF.Buffer
create
(int capacity) Returns a newSQLPERF.Buffer
instance allocated withBufferUtils
.static SQLPERF
create
(long address) Returns a newSQLPERF
instance for the specified memory address.static SQLPERF.Buffer
create
(long address, int capacity) Create aSQLPERF.Buffer
instance at the specified memory.static @Nullable SQLPERF
createSafe
(long address) static @Nullable SQLPERF.Buffer
createSafe
(long address, int capacity) int
CurrentConnectionCount
(int value) Sets the specified value to theCurrentConnectionCount
field.int
CurrentStmtCount
(int value) Sets the specified value to theCurrentStmtCount
field.int
CursorOpens
(int value) Sets the specified value to theCursorOpens
field.int
CursorSize
(int value) Sets the specified value to theCursorSize
field.int
CursorUsed
(int value) Sets the specified value to theCursorUsed
field.int
ExecDirects
(int value) Sets the specified value to theExecDirects
field.static SQLPERF
malloc()
Returns a newSQLPERF
instance allocated withmemAlloc
.static SQLPERF.Buffer
malloc
(int capacity) Returns a newSQLPERF.Buffer
instance allocated withmemAlloc
.static SQLPERF.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newSQLPERF.Buffer
instance allocated on the specifiedMemoryStack
.static SQLPERF
malloc
(MemoryStack stack) Returns a newSQLPERF
instance allocated on the specifiedMemoryStack
.static SQLPERF
Deprecated.static SQLPERF.Buffer
mallocStack
(int capacity) Deprecated.static SQLPERF.Buffer
mallocStack
(int capacity, MemoryStack stack) Deprecated.static SQLPERF
mallocStack
(MemoryStack stack) Deprecated.int
MaxConnectionsOpened
(int value) Sets the specified value to theMaxConnectionsOpened
field.int
MaxOpenStmt
(int value) Sets the specified value to theMaxOpenStmt
field.int
msExecutionTime
(int value) Sets the specified value to themsExecutionTime
field.int
msNetWorkServerTime
(int value) Sets the specified value to themsNetWorkServerTime
field.static double
nAvgCursorSize
(long struct) Unsafe version ofAvgCursorSize()
.static void
nAvgCursorSize
(long struct, double value) Unsafe version ofAvgCursorSize
.static double
nAvgCursorUsed
(long struct) Unsafe version ofAvgCursorUsed()
.static void
nAvgCursorUsed
(long struct, double value) Unsafe version ofAvgCursorUsed
.static double
nAvgFetchTime
(long struct) Unsafe version ofAvgFetchTime()
.static void
nAvgFetchTime
(long struct, double value) Unsafe version ofAvgFetchTime
.static double
nAvgTimeOpened
(long struct) Unsafe version ofAvgTimeOpened()
.static void
nAvgTimeOpened
(long struct, double value) Unsafe version ofAvgTimeOpened
.static int
nBuffersRec
(long struct) Unsafe version ofBuffersRec()
.static void
nBuffersRec
(long struct, int value) Unsafe version ofBuffersRec
.static int
nBuffersSent
(long struct) Unsafe version ofBuffersSent()
.static void
nBuffersSent
(long struct, int value) Unsafe version ofBuffersSent
.static int
nBytesRec
(long struct) Unsafe version ofBytesRec()
.static void
nBytesRec
(long struct, int value) Unsafe version ofBytesRec
.static int
nBytesSent
(long struct) Unsafe version ofBytesSent()
.static void
nBytesSent
(long struct, int value) Unsafe version ofBytesSent
.static int
nCurrentConnectionCount
(long struct) Unsafe version ofCurrentConnectionCount()
.static void
nCurrentConnectionCount
(long struct, int value) Unsafe version ofCurrentConnectionCount
.static int
nCurrentStmtCount
(long struct) Unsafe version ofCurrentStmtCount()
.static void
nCurrentStmtCount
(long struct, int value) Unsafe version ofCurrentStmtCount
.static int
nCursorOpens
(long struct) Unsafe version ofCursorOpens()
.static void
nCursorOpens
(long struct, int value) Unsafe version ofCursorOpens
.static int
nCursorSize
(long struct) Unsafe version ofCursorSize()
.static void
nCursorSize
(long struct, int value) Unsafe version ofCursorSize
.static int
nCursorUsed
(long struct) Unsafe version ofCursorUsed()
.static void
nCursorUsed
(long struct, int value) Unsafe version ofCursorUsed
.static int
nExecDirects
(long struct) Unsafe version ofExecDirects()
.static void
nExecDirects
(long struct, int value) Unsafe version ofExecDirects
.static int
nMaxConnectionsOpened
(long struct) Unsafe version ofMaxConnectionsOpened()
.static void
nMaxConnectionsOpened
(long struct, int value) Unsafe version ofMaxConnectionsOpened
.static int
nMaxOpenStmt
(long struct) Unsafe version ofMaxOpenStmt()
.static void
nMaxOpenStmt
(long struct, int value) Unsafe version ofMaxOpenStmt
.static int
nmsExecutionTime
(long struct) Unsafe version ofmsExecutionTime()
.static void
nmsExecutionTime
(long struct, int value) Unsafe version ofmsExecutionTime
.static int
nmsNetWorkServerTime
(long struct) Unsafe version ofmsNetWorkServerTime()
.static void
nmsNetWorkServerTime
(long struct, int value) Unsafe version ofmsNetWorkServerTime
.static double
nPercentCursorUsed
(long struct) Unsafe version ofPercentCursorUsed()
.static void
nPercentCursorUsed
(long struct, double value) Unsafe version ofPercentCursorUsed
.static int
nServerRndTrips
(long struct) Unsafe version ofServerRndTrips()
.static void
nServerRndTrips
(long struct, int value) Unsafe version ofServerRndTrips
.static int
nSQLExecutes
(long struct) Unsafe version ofSQLExecutes()
.static void
nSQLExecutes
(long struct, int value) Unsafe version ofSQLExecutes
.static int
nSQLFetchCount
(long struct) Unsafe version ofSQLFetchCount()
.static void
nSQLFetchCount
(long struct, int value) Unsafe version ofSQLFetchCount
.static int
nSQLFetchTime
(long struct) Unsafe version ofSQLFetchTime()
.static void
nSQLFetchTime
(long struct, int value) Unsafe version ofSQLFetchTime
.static int
nSQLidu
(long struct) Unsafe version ofSQLidu()
.static void
nSQLidu
(long struct, int value) Unsafe version ofSQLidu
.static int
nSQLiduRows
(long struct) Unsafe version ofSQLiduRows()
.static void
nSQLiduRows
(long struct, int value) Unsafe version ofSQLiduRows
.static int
nSQLPrepares
(long struct) Unsafe version ofSQLPrepares()
.static void
nSQLPrepares
(long struct, int value) Unsafe version ofSQLPrepares
.static int
nSQLSelectRows
(long struct) Unsafe version ofSQLSelectRows()
.static void
nSQLSelectRows
(long struct, int value) Unsafe version ofSQLSelectRows
.static int
nSQLSelects
(long struct) Unsafe version ofSQLSelects()
.static void
nSQLSelects
(long struct, int value) Unsafe version ofSQLSelects
.static int
nSumConnectionsOpened
(long struct) Unsafe version ofSumConnectionsOpened()
.static void
nSumConnectionsOpened
(long struct, int value) Unsafe version ofSumConnectionsOpened
.static int
nSumConnectiontime
(long struct) Unsafe version ofSumConnectiontime()
.static void
nSumConnectiontime
(long struct, int value) Unsafe version ofSumConnectiontime
.static int
nSumOpenStmt
(long struct) Unsafe version ofSumOpenStmt()
.static void
nSumOpenStmt
(long struct, int value) Unsafe version ofSumOpenStmt
.static int
nTimerResolution
(long struct) Unsafe version ofTimerResolution()
.static void
nTimerResolution
(long struct, int value) Unsafe version ofTimerResolution
.static int
nTransactions
(long struct) Unsafe version ofTransactions()
.static void
nTransactions
(long struct, int value) Unsafe version ofTransactions
.double
PercentCursorUsed
(double value) Sets the specified value to thePercentCursorUsed
field.int
ServerRndTrips
(int value) Sets the specified value to theServerRndTrips
field.set
(int TimerResolution, int SQLidu, int SQLiduRows, int SQLSelects, int SQLSelectRows, int Transactions, int SQLPrepares, int ExecDirects, int SQLExecutes, int CursorOpens, int CursorSize, int CursorUsed, double PercentCursorUsed, double AvgFetchTime, double AvgCursorSize, double AvgCursorUsed, int SQLFetchTime, int SQLFetchCount, int CurrentStmtCount, int MaxOpenStmt, int SumOpenStmt, int CurrentConnectionCount, int MaxConnectionsOpened, int SumConnectionsOpened, int SumConnectiontime, double AvgTimeOpened, int ServerRndTrips, int BuffersSent, int BuffersRec, int BytesSent, int BytesRec, int msExecutionTime, int msNetWorkServerTime) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.int
SQLExecutes
(int value) Sets the specified value to theSQLExecutes
field.int
SQLFetchCount
(int value) Sets the specified value to theSQLFetchCount
field.int
SQLFetchTime
(int value) Sets the specified value to theSQLFetchTime
field.int
SQLidu()
SQLidu
(int value) Sets the specified value to theSQLidu
field.int
SQLiduRows
(int value) Sets the specified value to theSQLiduRows
field.int
SQLPrepares
(int value) Sets the specified value to theSQLPrepares
field.int
SQLSelectRows
(int value) Sets the specified value to theSQLSelectRows
field.int
SQLSelects
(int value) Sets the specified value to theSQLSelects
field.int
SumConnectionsOpened
(int value) Sets the specified value to theSumConnectionsOpened
field.int
SumConnectiontime
(int value) Sets the specified value to theSumConnectiontime
field.int
SumOpenStmt
(int value) Sets the specified value to theSumOpenStmt
field.int
TimerResolution
(int value) Sets the specified value to theTimerResolution
field.int
Transactions
(int value) Sets the specified value to theTransactions
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
TIMERRESOLUTION
public static final int TIMERRESOLUTIONThe struct member offsets. -
SQLIDU
public static final int SQLIDUThe struct member offsets. -
SQLIDUROWS
public static final int SQLIDUROWSThe struct member offsets. -
SQLSELECTS
public static final int SQLSELECTSThe struct member offsets. -
SQLSELECTROWS
public static final int SQLSELECTROWSThe struct member offsets. -
TRANSACTIONS
public static final int TRANSACTIONSThe struct member offsets. -
SQLPREPARES
public static final int SQLPREPARESThe struct member offsets. -
EXECDIRECTS
public static final int EXECDIRECTSThe struct member offsets. -
SQLEXECUTES
public static final int SQLEXECUTESThe struct member offsets. -
CURSOROPENS
public static final int CURSOROPENSThe struct member offsets. -
CURSORSIZE
public static final int CURSORSIZEThe struct member offsets. -
CURSORUSED
public static final int CURSORUSEDThe struct member offsets. -
PERCENTCURSORUSED
public static final int PERCENTCURSORUSEDThe struct member offsets. -
AVGFETCHTIME
public static final int AVGFETCHTIMEThe struct member offsets. -
AVGCURSORSIZE
public static final int AVGCURSORSIZEThe struct member offsets. -
AVGCURSORUSED
public static final int AVGCURSORUSEDThe struct member offsets. -
SQLFETCHTIME
public static final int SQLFETCHTIMEThe struct member offsets. -
SQLFETCHCOUNT
public static final int SQLFETCHCOUNTThe struct member offsets. -
CURRENTSTMTCOUNT
public static final int CURRENTSTMTCOUNTThe struct member offsets. -
MAXOPENSTMT
public static final int MAXOPENSTMTThe struct member offsets. -
SUMOPENSTMT
public static final int SUMOPENSTMTThe struct member offsets. -
CURRENTCONNECTIONCOUNT
public static final int CURRENTCONNECTIONCOUNTThe struct member offsets. -
MAXCONNECTIONSOPENED
public static final int MAXCONNECTIONSOPENEDThe struct member offsets. -
SUMCONNECTIONSOPENED
public static final int SUMCONNECTIONSOPENEDThe struct member offsets. -
SUMCONNECTIONTIME
public static final int SUMCONNECTIONTIMEThe struct member offsets. -
AVGTIMEOPENED
public static final int AVGTIMEOPENEDThe struct member offsets. -
SERVERRNDTRIPS
public static final int SERVERRNDTRIPSThe struct member offsets. -
BUFFERSSENT
public static final int BUFFERSSENTThe struct member offsets. -
BUFFERSREC
public static final int BUFFERSRECThe struct member offsets. -
BYTESSENT
public static final int BYTESSENTThe struct member offsets. -
BYTESREC
public static final int BYTESRECThe struct member offsets. -
MSEXECUTIONTIME
public static final int MSEXECUTIONTIMEThe struct member offsets. -
MSNETWORKSERVERTIME
public static final int MSNETWORKSERVERTIMEThe struct member offsets.
-
-
Constructor Details
-
SQLPERF
Creates aSQLPERF
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
. -
TimerResolution
public int TimerResolution()- Returns:
- the value of the
TimerResolution
field.
-
SQLidu
public int SQLidu()- Returns:
- the value of the
SQLidu
field.
-
SQLiduRows
public int SQLiduRows()- Returns:
- the value of the
SQLiduRows
field.
-
SQLSelects
public int SQLSelects()- Returns:
- the value of the
SQLSelects
field.
-
SQLSelectRows
public int SQLSelectRows()- Returns:
- the value of the
SQLSelectRows
field.
-
Transactions
public int Transactions()- Returns:
- the value of the
Transactions
field.
-
SQLPrepares
public int SQLPrepares()- Returns:
- the value of the
SQLPrepares
field.
-
ExecDirects
public int ExecDirects()- Returns:
- the value of the
ExecDirects
field.
-
SQLExecutes
public int SQLExecutes()- Returns:
- the value of the
SQLExecutes
field.
-
CursorOpens
public int CursorOpens()- Returns:
- the value of the
CursorOpens
field.
-
CursorSize
public int CursorSize()- Returns:
- the value of the
CursorSize
field.
-
CursorUsed
public int CursorUsed()- Returns:
- the value of the
CursorUsed
field.
-
PercentCursorUsed
public double PercentCursorUsed()- Returns:
- the value of the
PercentCursorUsed
field.
-
AvgFetchTime
public double AvgFetchTime()- Returns:
- the value of the
AvgFetchTime
field.
-
AvgCursorSize
public double AvgCursorSize()- Returns:
- the value of the
AvgCursorSize
field.
-
AvgCursorUsed
public double AvgCursorUsed()- Returns:
- the value of the
AvgCursorUsed
field.
-
SQLFetchTime
public int SQLFetchTime()- Returns:
- the value of the
SQLFetchTime
field.
-
SQLFetchCount
public int SQLFetchCount()- Returns:
- the value of the
SQLFetchCount
field.
-
CurrentStmtCount
public int CurrentStmtCount()- Returns:
- the value of the
CurrentStmtCount
field.
-
MaxOpenStmt
public int MaxOpenStmt()- Returns:
- the value of the
MaxOpenStmt
field.
-
SumOpenStmt
public int SumOpenStmt()- Returns:
- the value of the
SumOpenStmt
field.
-
CurrentConnectionCount
public int CurrentConnectionCount()- Returns:
- the value of the
CurrentConnectionCount
field.
-
MaxConnectionsOpened
public int MaxConnectionsOpened()- Returns:
- the value of the
MaxConnectionsOpened
field.
-
SumConnectionsOpened
public int SumConnectionsOpened()- Returns:
- the value of the
SumConnectionsOpened
field.
-
SumConnectiontime
public int SumConnectiontime()- Returns:
- the value of the
SumConnectiontime
field.
-
AvgTimeOpened
public double AvgTimeOpened()- Returns:
- the value of the
AvgTimeOpened
field.
-
ServerRndTrips
public int ServerRndTrips()- Returns:
- the value of the
ServerRndTrips
field.
-
BuffersSent
public int BuffersSent()- Returns:
- the value of the
BuffersSent
field.
-
BuffersRec
public int BuffersRec()- Returns:
- the value of the
BuffersRec
field.
-
BytesSent
public int BytesSent()- Returns:
- the value of the
BytesSent
field.
-
BytesRec
public int BytesRec()- Returns:
- the value of the
BytesRec
field.
-
msExecutionTime
public int msExecutionTime()- Returns:
- the value of the
msExecutionTime
field.
-
msNetWorkServerTime
public int msNetWorkServerTime()- Returns:
- the value of the
msNetWorkServerTime
field.
-
TimerResolution
Sets the specified value to theTimerResolution
field. -
SQLidu
Sets the specified value to theSQLidu
field. -
SQLiduRows
Sets the specified value to theSQLiduRows
field. -
SQLSelects
Sets the specified value to theSQLSelects
field. -
SQLSelectRows
Sets the specified value to theSQLSelectRows
field. -
Transactions
Sets the specified value to theTransactions
field. -
SQLPrepares
Sets the specified value to theSQLPrepares
field. -
ExecDirects
Sets the specified value to theExecDirects
field. -
SQLExecutes
Sets the specified value to theSQLExecutes
field. -
CursorOpens
Sets the specified value to theCursorOpens
field. -
CursorSize
Sets the specified value to theCursorSize
field. -
CursorUsed
Sets the specified value to theCursorUsed
field. -
PercentCursorUsed
Sets the specified value to thePercentCursorUsed
field. -
AvgFetchTime
Sets the specified value to theAvgFetchTime
field. -
AvgCursorSize
Sets the specified value to theAvgCursorSize
field. -
AvgCursorUsed
Sets the specified value to theAvgCursorUsed
field. -
SQLFetchTime
Sets the specified value to theSQLFetchTime
field. -
SQLFetchCount
Sets the specified value to theSQLFetchCount
field. -
CurrentStmtCount
Sets the specified value to theCurrentStmtCount
field. -
MaxOpenStmt
Sets the specified value to theMaxOpenStmt
field. -
SumOpenStmt
Sets the specified value to theSumOpenStmt
field. -
CurrentConnectionCount
Sets the specified value to theCurrentConnectionCount
field. -
MaxConnectionsOpened
Sets the specified value to theMaxConnectionsOpened
field. -
SumConnectionsOpened
Sets the specified value to theSumConnectionsOpened
field. -
SumConnectiontime
Sets the specified value to theSumConnectiontime
field. -
AvgTimeOpened
Sets the specified value to theAvgTimeOpened
field. -
ServerRndTrips
Sets the specified value to theServerRndTrips
field. -
BuffersSent
Sets the specified value to theBuffersSent
field. -
BuffersRec
Sets the specified value to theBuffersRec
field. -
BytesSent
Sets the specified value to theBytesSent
field. -
BytesRec
Sets the specified value to theBytesRec
field. -
msExecutionTime
Sets the specified value to themsExecutionTime
field. -
msNetWorkServerTime
Sets the specified value to themsNetWorkServerTime
field. -
set
public SQLPERF set(int TimerResolution, int SQLidu, int SQLiduRows, int SQLSelects, int SQLSelectRows, int Transactions, int SQLPrepares, int ExecDirects, int SQLExecutes, int CursorOpens, int CursorSize, int CursorUsed, double PercentCursorUsed, double AvgFetchTime, double AvgCursorSize, double AvgCursorUsed, int SQLFetchTime, int SQLFetchCount, int CurrentStmtCount, int MaxOpenStmt, int SumOpenStmt, int CurrentConnectionCount, int MaxConnectionsOpened, int SumConnectionsOpened, int SumConnectiontime, double AvgTimeOpened, int ServerRndTrips, int BuffersSent, int BuffersRec, int BytesSent, int BytesRec, int msExecutionTime, int msNetWorkServerTime) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newSQLPERF
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newSQLPERF
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newSQLPERF
instance allocated withBufferUtils
. -
create
Returns a newSQLPERF
instance for the specified memory address. -
createSafe
-
malloc
Returns a newSQLPERF.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newSQLPERF.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newSQLPERF.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aSQLPERF.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
malloc
Returns a newSQLPERF
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newSQLPERF
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newSQLPERF.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newSQLPERF.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nTimerResolution
public static int nTimerResolution(long struct) Unsafe version ofTimerResolution()
. -
nSQLidu
public static int nSQLidu(long struct) Unsafe version ofSQLidu()
. -
nSQLiduRows
public static int nSQLiduRows(long struct) Unsafe version ofSQLiduRows()
. -
nSQLSelects
public static int nSQLSelects(long struct) Unsafe version ofSQLSelects()
. -
nSQLSelectRows
public static int nSQLSelectRows(long struct) Unsafe version ofSQLSelectRows()
. -
nTransactions
public static int nTransactions(long struct) Unsafe version ofTransactions()
. -
nSQLPrepares
public static int nSQLPrepares(long struct) Unsafe version ofSQLPrepares()
. -
nExecDirects
public static int nExecDirects(long struct) Unsafe version ofExecDirects()
. -
nSQLExecutes
public static int nSQLExecutes(long struct) Unsafe version ofSQLExecutes()
. -
nCursorOpens
public static int nCursorOpens(long struct) Unsafe version ofCursorOpens()
. -
nCursorSize
public static int nCursorSize(long struct) Unsafe version ofCursorSize()
. -
nCursorUsed
public static int nCursorUsed(long struct) Unsafe version ofCursorUsed()
. -
nPercentCursorUsed
public static double nPercentCursorUsed(long struct) Unsafe version ofPercentCursorUsed()
. -
nAvgFetchTime
public static double nAvgFetchTime(long struct) Unsafe version ofAvgFetchTime()
. -
nAvgCursorSize
public static double nAvgCursorSize(long struct) Unsafe version ofAvgCursorSize()
. -
nAvgCursorUsed
public static double nAvgCursorUsed(long struct) Unsafe version ofAvgCursorUsed()
. -
nSQLFetchTime
public static int nSQLFetchTime(long struct) Unsafe version ofSQLFetchTime()
. -
nSQLFetchCount
public static int nSQLFetchCount(long struct) Unsafe version ofSQLFetchCount()
. -
nCurrentStmtCount
public static int nCurrentStmtCount(long struct) Unsafe version ofCurrentStmtCount()
. -
nMaxOpenStmt
public static int nMaxOpenStmt(long struct) Unsafe version ofMaxOpenStmt()
. -
nSumOpenStmt
public static int nSumOpenStmt(long struct) Unsafe version ofSumOpenStmt()
. -
nCurrentConnectionCount
public static int nCurrentConnectionCount(long struct) Unsafe version ofCurrentConnectionCount()
. -
nMaxConnectionsOpened
public static int nMaxConnectionsOpened(long struct) Unsafe version ofMaxConnectionsOpened()
. -
nSumConnectionsOpened
public static int nSumConnectionsOpened(long struct) Unsafe version ofSumConnectionsOpened()
. -
nSumConnectiontime
public static int nSumConnectiontime(long struct) Unsafe version ofSumConnectiontime()
. -
nAvgTimeOpened
public static double nAvgTimeOpened(long struct) Unsafe version ofAvgTimeOpened()
. -
nServerRndTrips
public static int nServerRndTrips(long struct) Unsafe version ofServerRndTrips()
. -
nBuffersSent
public static int nBuffersSent(long struct) Unsafe version ofBuffersSent()
. -
nBuffersRec
public static int nBuffersRec(long struct) Unsafe version ofBuffersRec()
. -
nBytesSent
public static int nBytesSent(long struct) Unsafe version ofBytesSent()
. -
nBytesRec
public static int nBytesRec(long struct) Unsafe version ofBytesRec()
. -
nmsExecutionTime
public static int nmsExecutionTime(long struct) Unsafe version ofmsExecutionTime()
. -
nmsNetWorkServerTime
public static int nmsNetWorkServerTime(long struct) Unsafe version ofmsNetWorkServerTime()
. -
nTimerResolution
public static void nTimerResolution(long struct, int value) Unsafe version ofTimerResolution
. -
nSQLidu
public static void nSQLidu(long struct, int value) Unsafe version ofSQLidu
. -
nSQLiduRows
public static void nSQLiduRows(long struct, int value) Unsafe version ofSQLiduRows
. -
nSQLSelects
public static void nSQLSelects(long struct, int value) Unsafe version ofSQLSelects
. -
nSQLSelectRows
public static void nSQLSelectRows(long struct, int value) Unsafe version ofSQLSelectRows
. -
nTransactions
public static void nTransactions(long struct, int value) Unsafe version ofTransactions
. -
nSQLPrepares
public static void nSQLPrepares(long struct, int value) Unsafe version ofSQLPrepares
. -
nExecDirects
public static void nExecDirects(long struct, int value) Unsafe version ofExecDirects
. -
nSQLExecutes
public static void nSQLExecutes(long struct, int value) Unsafe version ofSQLExecutes
. -
nCursorOpens
public static void nCursorOpens(long struct, int value) Unsafe version ofCursorOpens
. -
nCursorSize
public static void nCursorSize(long struct, int value) Unsafe version ofCursorSize
. -
nCursorUsed
public static void nCursorUsed(long struct, int value) Unsafe version ofCursorUsed
. -
nPercentCursorUsed
public static void nPercentCursorUsed(long struct, double value) Unsafe version ofPercentCursorUsed
. -
nAvgFetchTime
public static void nAvgFetchTime(long struct, double value) Unsafe version ofAvgFetchTime
. -
nAvgCursorSize
public static void nAvgCursorSize(long struct, double value) Unsafe version ofAvgCursorSize
. -
nAvgCursorUsed
public static void nAvgCursorUsed(long struct, double value) Unsafe version ofAvgCursorUsed
. -
nSQLFetchTime
public static void nSQLFetchTime(long struct, int value) Unsafe version ofSQLFetchTime
. -
nSQLFetchCount
public static void nSQLFetchCount(long struct, int value) Unsafe version ofSQLFetchCount
. -
nCurrentStmtCount
public static void nCurrentStmtCount(long struct, int value) Unsafe version ofCurrentStmtCount
. -
nMaxOpenStmt
public static void nMaxOpenStmt(long struct, int value) Unsafe version ofMaxOpenStmt
. -
nSumOpenStmt
public static void nSumOpenStmt(long struct, int value) Unsafe version ofSumOpenStmt
. -
nCurrentConnectionCount
public static void nCurrentConnectionCount(long struct, int value) Unsafe version ofCurrentConnectionCount
. -
nMaxConnectionsOpened
public static void nMaxConnectionsOpened(long struct, int value) Unsafe version ofMaxConnectionsOpened
. -
nSumConnectionsOpened
public static void nSumConnectionsOpened(long struct, int value) Unsafe version ofSumConnectionsOpened
. -
nSumConnectiontime
public static void nSumConnectiontime(long struct, int value) Unsafe version ofSumConnectiontime
. -
nAvgTimeOpened
public static void nAvgTimeOpened(long struct, double value) Unsafe version ofAvgTimeOpened
. -
nServerRndTrips
public static void nServerRndTrips(long struct, int value) Unsafe version ofServerRndTrips
. -
nBuffersSent
public static void nBuffersSent(long struct, int value) Unsafe version ofBuffersSent
. -
nBuffersRec
public static void nBuffersRec(long struct, int value) Unsafe version ofBuffersRec
. -
nBytesSent
public static void nBytesSent(long struct, int value) Unsafe version ofBytesSent
. -
nBytesRec
public static void nBytesRec(long struct, int value) Unsafe version ofBytesRec
. -
nmsExecutionTime
public static void nmsExecutionTime(long struct, int value) Unsafe version ofmsExecutionTime
. -
nmsNetWorkServerTime
public static void nmsNetWorkServerTime(long struct, int value) Unsafe version ofmsNetWorkServerTime
.
-