Skip to content

Commit 65fab4e

Browse files
committed
Removed unused exec_time & fetch_time in zend_accelerator_module
1 parent 7d8c2c4 commit 65fab4e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ext/opcache/zend_accelerator_module.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -581,8 +581,6 @@ static int accelerator_get_scripts(zval *return_value)
581581
zval persistent_script_report;
582582
zend_accel_hash_entry *cache_entry;
583583
struct tm *ta;
584-
struct timeval exec_time;
585-
struct timeval fetch_time;
586584

587585
if (!ZCG(accelerator_enabled) || accelerator_shm_read_lock() != SUCCESS) {
588586
return 0;
@@ -612,8 +610,6 @@ static int accelerator_get_scripts(zval *return_value)
612610
if (ZCG(accel_directives).validate_timestamps) {
613611
add_assoc_long(&persistent_script_report, "timestamp", (zend_long)script->timestamp);
614612
}
615-
timerclear(&exec_time);
616-
timerclear(&fetch_time);
617613

618614
add_assoc_long(&persistent_script_report, "revalidate", (zend_long)script->dynamic_members.revalidate);
619615

0 commit comments

Comments
 (0)