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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe 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 aSQLPERFinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptiondoubleAvgCursorSize(double value) Sets the specified value to theAvgCursorSizefield.doubleAvgCursorUsed(double value) Sets the specified value to theAvgCursorUsedfield.doubleAvgFetchTime(double value) Sets the specified value to theAvgFetchTimefield.doubleAvgTimeOpened(double value) Sets the specified value to theAvgTimeOpenedfield.intBuffersRec(int value) Sets the specified value to theBuffersRecfield.intBuffersSent(int value) Sets the specified value to theBuffersSentfield.intBytesRec()BytesRec(int value) Sets the specified value to theBytesRecfield.intBytesSent(int value) Sets the specified value to theBytesSentfield.static SQLPERFcalloc()Returns a newSQLPERFinstance allocated withmemCalloc.static SQLPERF.Buffercalloc(int capacity) Returns a newSQLPERF.Bufferinstance allocated withmemCalloc.static SQLPERF.Buffercalloc(int capacity, MemoryStack stack) Returns a newSQLPERF.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static SQLPERFcalloc(MemoryStack stack) Returns a newSQLPERFinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static SQLPERFcreate()Returns a newSQLPERFinstance allocated withBufferUtils.static SQLPERF.Buffercreate(int capacity) Returns a newSQLPERF.Bufferinstance allocated withBufferUtils.static SQLPERFcreate(long address) Returns a newSQLPERFinstance for the specified memory address.static SQLPERF.Buffercreate(long address, int capacity) Create aSQLPERF.Bufferinstance at the specified memory.static @Nullable SQLPERFcreateSafe(long address) static @Nullable SQLPERF.BuffercreateSafe(long address, int capacity) intCurrentConnectionCount(int value) Sets the specified value to theCurrentConnectionCountfield.intCurrentStmtCount(int value) Sets the specified value to theCurrentStmtCountfield.intCursorOpens(int value) Sets the specified value to theCursorOpensfield.intCursorSize(int value) Sets the specified value to theCursorSizefield.intCursorUsed(int value) Sets the specified value to theCursorUsedfield.intExecDirects(int value) Sets the specified value to theExecDirectsfield.static SQLPERFmalloc()Returns a newSQLPERFinstance allocated withmemAlloc.static SQLPERF.Buffermalloc(int capacity) Returns a newSQLPERF.Bufferinstance allocated withmemAlloc.static SQLPERF.Buffermalloc(int capacity, MemoryStack stack) Returns a newSQLPERF.Bufferinstance allocated on the specifiedMemoryStack.static SQLPERFmalloc(MemoryStack stack) Returns a newSQLPERFinstance allocated on the specifiedMemoryStack.intMaxConnectionsOpened(int value) Sets the specified value to theMaxConnectionsOpenedfield.intMaxOpenStmt(int value) Sets the specified value to theMaxOpenStmtfield.intmsExecutionTime(int value) Sets the specified value to themsExecutionTimefield.intmsNetWorkServerTime(int value) Sets the specified value to themsNetWorkServerTimefield.static doublenAvgCursorSize(long struct) Unsafe version ofAvgCursorSize().static voidnAvgCursorSize(long struct, double value) Unsafe version ofAvgCursorSize.static doublenAvgCursorUsed(long struct) Unsafe version ofAvgCursorUsed().static voidnAvgCursorUsed(long struct, double value) Unsafe version ofAvgCursorUsed.static doublenAvgFetchTime(long struct) Unsafe version ofAvgFetchTime().static voidnAvgFetchTime(long struct, double value) Unsafe version ofAvgFetchTime.static doublenAvgTimeOpened(long struct) Unsafe version ofAvgTimeOpened().static voidnAvgTimeOpened(long struct, double value) Unsafe version ofAvgTimeOpened.static intnBuffersRec(long struct) Unsafe version ofBuffersRec().static voidnBuffersRec(long struct, int value) Unsafe version ofBuffersRec.static intnBuffersSent(long struct) Unsafe version ofBuffersSent().static voidnBuffersSent(long struct, int value) Unsafe version ofBuffersSent.static intnBytesRec(long struct) Unsafe version ofBytesRec().static voidnBytesRec(long struct, int value) Unsafe version ofBytesRec.static intnBytesSent(long struct) Unsafe version ofBytesSent().static voidnBytesSent(long struct, int value) Unsafe version ofBytesSent.static intnCurrentConnectionCount(long struct) Unsafe version ofCurrentConnectionCount().static voidnCurrentConnectionCount(long struct, int value) Unsafe version ofCurrentConnectionCount.static intnCurrentStmtCount(long struct) Unsafe version ofCurrentStmtCount().static voidnCurrentStmtCount(long struct, int value) Unsafe version ofCurrentStmtCount.static intnCursorOpens(long struct) Unsafe version ofCursorOpens().static voidnCursorOpens(long struct, int value) Unsafe version ofCursorOpens.static intnCursorSize(long struct) Unsafe version ofCursorSize().static voidnCursorSize(long struct, int value) Unsafe version ofCursorSize.static intnCursorUsed(long struct) Unsafe version ofCursorUsed().static voidnCursorUsed(long struct, int value) Unsafe version ofCursorUsed.static intnExecDirects(long struct) Unsafe version ofExecDirects().static voidnExecDirects(long struct, int value) Unsafe version ofExecDirects.static intnMaxConnectionsOpened(long struct) Unsafe version ofMaxConnectionsOpened().static voidnMaxConnectionsOpened(long struct, int value) Unsafe version ofMaxConnectionsOpened.static intnMaxOpenStmt(long struct) Unsafe version ofMaxOpenStmt().static voidnMaxOpenStmt(long struct, int value) Unsafe version ofMaxOpenStmt.static intnmsExecutionTime(long struct) Unsafe version ofmsExecutionTime().static voidnmsExecutionTime(long struct, int value) Unsafe version ofmsExecutionTime.static intnmsNetWorkServerTime(long struct) Unsafe version ofmsNetWorkServerTime().static voidnmsNetWorkServerTime(long struct, int value) Unsafe version ofmsNetWorkServerTime.static doublenPercentCursorUsed(long struct) Unsafe version ofPercentCursorUsed().static voidnPercentCursorUsed(long struct, double value) Unsafe version ofPercentCursorUsed.static intnServerRndTrips(long struct) Unsafe version ofServerRndTrips().static voidnServerRndTrips(long struct, int value) Unsafe version ofServerRndTrips.static intnSQLExecutes(long struct) Unsafe version ofSQLExecutes().static voidnSQLExecutes(long struct, int value) Unsafe version ofSQLExecutes.static intnSQLFetchCount(long struct) Unsafe version ofSQLFetchCount().static voidnSQLFetchCount(long struct, int value) Unsafe version ofSQLFetchCount.static intnSQLFetchTime(long struct) Unsafe version ofSQLFetchTime().static voidnSQLFetchTime(long struct, int value) Unsafe version ofSQLFetchTime.static intnSQLidu(long struct) Unsafe version ofSQLidu().static voidnSQLidu(long struct, int value) Unsafe version ofSQLidu.static intnSQLiduRows(long struct) Unsafe version ofSQLiduRows().static voidnSQLiduRows(long struct, int value) Unsafe version ofSQLiduRows.static intnSQLPrepares(long struct) Unsafe version ofSQLPrepares().static voidnSQLPrepares(long struct, int value) Unsafe version ofSQLPrepares.static intnSQLSelectRows(long struct) Unsafe version ofSQLSelectRows().static voidnSQLSelectRows(long struct, int value) Unsafe version ofSQLSelectRows.static intnSQLSelects(long struct) Unsafe version ofSQLSelects().static voidnSQLSelects(long struct, int value) Unsafe version ofSQLSelects.static intnSumConnectionsOpened(long struct) Unsafe version ofSumConnectionsOpened().static voidnSumConnectionsOpened(long struct, int value) Unsafe version ofSumConnectionsOpened.static intnSumConnectiontime(long struct) Unsafe version ofSumConnectiontime().static voidnSumConnectiontime(long struct, int value) Unsafe version ofSumConnectiontime.static intnSumOpenStmt(long struct) Unsafe version ofSumOpenStmt().static voidnSumOpenStmt(long struct, int value) Unsafe version ofSumOpenStmt.static intnTimerResolution(long struct) Unsafe version ofTimerResolution().static voidnTimerResolution(long struct, int value) Unsafe version ofTimerResolution.static intnTransactions(long struct) Unsafe version ofTransactions().static voidnTransactions(long struct, int value) Unsafe version ofTransactions.doublePercentCursorUsed(double value) Sets the specified value to thePercentCursorUsedfield.intServerRndTrips(int value) Sets the specified value to theServerRndTripsfield.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.intsizeof()Returnssizeof(struct).intSQLExecutes(int value) Sets the specified value to theSQLExecutesfield.intSQLFetchCount(int value) Sets the specified value to theSQLFetchCountfield.intSQLFetchTime(int value) Sets the specified value to theSQLFetchTimefield.intSQLidu()SQLidu(int value) Sets the specified value to theSQLidufield.intSQLiduRows(int value) Sets the specified value to theSQLiduRowsfield.intSQLPrepares(int value) Sets the specified value to theSQLPreparesfield.intSQLSelectRows(int value) Sets the specified value to theSQLSelectRowsfield.intSQLSelects(int value) Sets the specified value to theSQLSelectsfield.intSumConnectionsOpened(int value) Sets the specified value to theSumConnectionsOpenedfield.intSumConnectiontime(int value) Sets the specified value to theSumConnectiontimefield.intSumOpenStmt(int value) Sets the specified value to theSumOpenStmtfield.intTimerResolution(int value) Sets the specified value to theTimerResolutionfield.intTransactions(int value) Sets the specified value to theTransactionsfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aSQLPERFinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct). -
TimerResolution
public int TimerResolution()- Returns:
- the value of the
TimerResolutionfield.
-
SQLidu
public int SQLidu()- Returns:
- the value of the
SQLidufield.
-
SQLiduRows
public int SQLiduRows()- Returns:
- the value of the
SQLiduRowsfield.
-
SQLSelects
public int SQLSelects()- Returns:
- the value of the
SQLSelectsfield.
-
SQLSelectRows
public int SQLSelectRows()- Returns:
- the value of the
SQLSelectRowsfield.
-
Transactions
public int Transactions()- Returns:
- the value of the
Transactionsfield.
-
SQLPrepares
public int SQLPrepares()- Returns:
- the value of the
SQLPreparesfield.
-
ExecDirects
public int ExecDirects()- Returns:
- the value of the
ExecDirectsfield.
-
SQLExecutes
public int SQLExecutes()- Returns:
- the value of the
SQLExecutesfield.
-
CursorOpens
public int CursorOpens()- Returns:
- the value of the
CursorOpensfield.
-
CursorSize
public int CursorSize()- Returns:
- the value of the
CursorSizefield.
-
CursorUsed
public int CursorUsed()- Returns:
- the value of the
CursorUsedfield.
-
PercentCursorUsed
public double PercentCursorUsed()- Returns:
- the value of the
PercentCursorUsedfield.
-
AvgFetchTime
public double AvgFetchTime()- Returns:
- the value of the
AvgFetchTimefield.
-
AvgCursorSize
public double AvgCursorSize()- Returns:
- the value of the
AvgCursorSizefield.
-
AvgCursorUsed
public double AvgCursorUsed()- Returns:
- the value of the
AvgCursorUsedfield.
-
SQLFetchTime
public int SQLFetchTime()- Returns:
- the value of the
SQLFetchTimefield.
-
SQLFetchCount
public int SQLFetchCount()- Returns:
- the value of the
SQLFetchCountfield.
-
CurrentStmtCount
public int CurrentStmtCount()- Returns:
- the value of the
CurrentStmtCountfield.
-
MaxOpenStmt
public int MaxOpenStmt()- Returns:
- the value of the
MaxOpenStmtfield.
-
SumOpenStmt
public int SumOpenStmt()- Returns:
- the value of the
SumOpenStmtfield.
-
CurrentConnectionCount
public int CurrentConnectionCount()- Returns:
- the value of the
CurrentConnectionCountfield.
-
MaxConnectionsOpened
public int MaxConnectionsOpened()- Returns:
- the value of the
MaxConnectionsOpenedfield.
-
SumConnectionsOpened
public int SumConnectionsOpened()- Returns:
- the value of the
SumConnectionsOpenedfield.
-
SumConnectiontime
public int SumConnectiontime()- Returns:
- the value of the
SumConnectiontimefield.
-
AvgTimeOpened
public double AvgTimeOpened()- Returns:
- the value of the
AvgTimeOpenedfield.
-
ServerRndTrips
public int ServerRndTrips()- Returns:
- the value of the
ServerRndTripsfield.
-
BuffersSent
public int BuffersSent()- Returns:
- the value of the
BuffersSentfield.
-
BuffersRec
public int BuffersRec()- Returns:
- the value of the
BuffersRecfield.
-
BytesSent
public int BytesSent()- Returns:
- the value of the
BytesSentfield.
-
BytesRec
public int BytesRec()- Returns:
- the value of the
BytesRecfield.
-
msExecutionTime
public int msExecutionTime()- Returns:
- the value of the
msExecutionTimefield.
-
msNetWorkServerTime
public int msNetWorkServerTime()- Returns:
- the value of the
msNetWorkServerTimefield.
-
TimerResolution
Sets the specified value to theTimerResolutionfield. -
SQLidu
Sets the specified value to theSQLidufield. -
SQLiduRows
Sets the specified value to theSQLiduRowsfield. -
SQLSelects
Sets the specified value to theSQLSelectsfield. -
SQLSelectRows
Sets the specified value to theSQLSelectRowsfield. -
Transactions
Sets the specified value to theTransactionsfield. -
SQLPrepares
Sets the specified value to theSQLPreparesfield. -
ExecDirects
Sets the specified value to theExecDirectsfield. -
SQLExecutes
Sets the specified value to theSQLExecutesfield. -
CursorOpens
Sets the specified value to theCursorOpensfield. -
CursorSize
Sets the specified value to theCursorSizefield. -
CursorUsed
Sets the specified value to theCursorUsedfield. -
PercentCursorUsed
Sets the specified value to thePercentCursorUsedfield. -
AvgFetchTime
Sets the specified value to theAvgFetchTimefield. -
AvgCursorSize
Sets the specified value to theAvgCursorSizefield. -
AvgCursorUsed
Sets the specified value to theAvgCursorUsedfield. -
SQLFetchTime
Sets the specified value to theSQLFetchTimefield. -
SQLFetchCount
Sets the specified value to theSQLFetchCountfield. -
CurrentStmtCount
Sets the specified value to theCurrentStmtCountfield. -
MaxOpenStmt
Sets the specified value to theMaxOpenStmtfield. -
SumOpenStmt
Sets the specified value to theSumOpenStmtfield. -
CurrentConnectionCount
Sets the specified value to theCurrentConnectionCountfield. -
MaxConnectionsOpened
Sets the specified value to theMaxConnectionsOpenedfield. -
SumConnectionsOpened
Sets the specified value to theSumConnectionsOpenedfield. -
SumConnectiontime
Sets the specified value to theSumConnectiontimefield. -
AvgTimeOpened
Sets the specified value to theAvgTimeOpenedfield. -
ServerRndTrips
Sets the specified value to theServerRndTripsfield. -
BuffersSent
Sets the specified value to theBuffersSentfield. -
BuffersRec
Sets the specified value to theBuffersRecfield. -
BytesSent
Sets the specified value to theBytesSentfield. -
BytesRec
Sets the specified value to theBytesRecfield. -
msExecutionTime
Sets the specified value to themsExecutionTimefield. -
msNetWorkServerTime
Sets the specified value to themsNetWorkServerTimefield. -
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 newSQLPERFinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newSQLPERFinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newSQLPERFinstance allocated withBufferUtils. -
create
Returns a newSQLPERFinstance for the specified memory address. -
createSafe
-
malloc
Returns a newSQLPERF.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newSQLPERF.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newSQLPERF.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aSQLPERF.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newSQLPERFinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newSQLPERFinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newSQLPERF.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newSQLPERF.Bufferinstance allocated on the specifiedMemoryStackand 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.
-