/** * Public constructor, creates the timer object and calculates the execution * time limits. * * @return ATimer */ public function __construct($max_exec_time = 5, $runtime_bias = 75) { ALog::_(ANGIE_LOG_DEBUG, __METHOD__ . '(' . $max_exec_time . ', ' . $runtime_bias . ')'); // Initialize start time $this->start_time = $this->microtime_float(); $this->max_exec_time = $max_exec_time * $runtime_bias / 100; }