function views_microtime
2.x views.module | views_microtime() |
Microtime helper function to return a float time value (php4 & php5 safe).
8 calls to views_microtime()
- view::build in includes/
view.inc - Build the query for the view.
- view::execute in includes/
view.inc - Execute the view's query.
- view::render in includes/
view.inc - Render this view for display.
- views_block in ./
views.module - Implementation of hook_block
- views_fetch_fields in includes/
admin.inc - Fetch a list of all fields available for a given base type.
File
- ./
views.module, line 1331 - Primarily Drupal hooks and global API functions to manipulate views.
Code
function views_microtime() {
list($usec, $sec) = explode(' ', microtime());
return (float) $sec + (float) $usec;
}