Skip to content

cache_get_query_exec_time

imshooter edited this page Dec 1, 2026 · 2 revisions

The time the query of the active cache took to run.

native cache_get_query_exec_time(E_MYSQL_EXECTIME_UNIT:unit = MICROSECONDS);

With open.mp names, from the same include:

native Cache_GetQueryExecutionTime(E_MYSQL_EXECTIME_UNIT:unit = MICROSECONDS);

Parameters

Parameter Description
E_MYSQL_EXECTIME_UNIT:unit = MICROSECONDS MILLISECONDS or MICROSECONDS.

Returns

  • The time.
  • -1 when no cache is active.

Home

Guides

Reference

Functions

Connections
Queries
Cache
JSON cells
ORM
Queries built in pieces
Prepared statements
Batches
Transactions
Passwords
Callbacks

Clone this wiki locally