You are here

function views_microtime in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 views.module \views_microtime()

Microtime helper function to return a float time value (php4 & php5 safe).

7 calls to views_microtime()
view::build in includes/view.inc
Build the query for the view.
view::render in includes/view.inc
Render this view for a certain display.
views_fetch_fields in includes/admin.inc
Fetch a list of all fields available for a given base type.
views_fetch_handler_data in includes/handlers.inc
Fetch the handler data from cache.
views_plugin_query_default::execute in plugins/views_plugin_query_default.inc
Executes the query and fills the associated view object with according values.

... See full list

File

./views.module, line 1740
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_microtime() {
  list($usec, $sec) = explode(' ', microtime());
  return (double) $sec + (double) $usec;
}