diff options
author | drh <drh@noemail.net> | 2005-08-29 23:00:03 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2005-08-29 23:00:03 +0000 |
commit | 19e2d37f1de2459dad62416124c26cdaa84e82db (patch) | |
tree | b158f590be274fb7ff16ddb4c9cda790ec8c3c87 /src/sqliteInt.h | |
parent | b46b57745ddf0d131843e229fc13a3dbc231f545 (diff) | |
download | sqlite-19e2d37f1de2459dad62416124c26cdaa84e82db.tar.gz sqlite-19e2d37f1de2459dad62416124c26cdaa84e82db.zip |
Increase resolution of time-of-day on unix. Add an experimental
sqlite3_profile() API. (CVS 2639)
FossilOrigin-Name: ed2ca0873fa89d6cfd123541d5d1c6b92c72b6ab
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index dba03e1f1..8042ae047 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,7 +11,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.404 2005/08/28 17:00:23 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.405 2005/08/29 23:00:04 drh Exp $ */ #ifndef _SQLITEINT_H_ #define _SQLITEINT_H_ @@ -420,8 +420,10 @@ struct sqlite3 { } init; struct Vdbe *pVdbe; /* List of active virtual machines */ int activeVdbeCnt; /* Number of vdbes currently executing */ - void (*xTrace)(void*,const char*); /* Trace function */ - void *pTraceArg; /* Argument to the trace function */ + void (*xTrace)(void*,const char*); /* Trace function */ + void *pTraceArg; /* Argument to the trace function */ + void (*xProfile)(void*,const char*,u64); /* Profiling function */ + void *pProfileArg; /* Argument to profile function */ void *pCommitArg; /* Argument to xCommitCallback() */ int (*xCommitCallback)(void*);/* Invoked at every commit. */ void(*xCollNeeded)(void*,sqlite3*,int eTextRep,const char*); |