Small, Fast, Reliable.
Choose any three.

SQLite C Interface

Tracing And Profiling Functions

void *sqlite3_trace(sqlite3*, void(*xTrace)(void*,const char*), void*);
void *sqlite3_profile(sqlite3*,
   void(*xProfile)(void*,const char*,sqlite3_uint64), void*);

These routines register callback functions that can be used for tracing and profiling the execution of SQL statements. The callback function registered by sqlite3_trace() is invoked at the first sqlite3_step() for the evaluation of an SQL statement. The callback function registered by sqlite3_profile() is invoked as each SQL statement finishes and includes information on how long that statement ran.

The sqlite3_profile() API is currently considered experimental and is subject to change.

See also lists of Objects, Constants, and Functions.


This page last modified 2007/11/22 00:41:31 UTC