time-subtract and float-time.
+2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
+
+ * semantic.el (semantic-elapsed-time): Rewrite using
+ time-subtract and float-time.
+
2011-05-11 Glenn Morris <rgm@gnu.org>
* semantic/wisent/javascript.el (semantic-get-local-variables):
(defun semantic-elapsed-time (start end)
"Copied from elp.el. Was `elp-elapsed-time'.
Argument START and END bound the time being calculated."
- (+ (* (- (car end) (car start)) 65536.0)
- (- (car (cdr end)) (car (cdr start)))
- (/ (- (car (cdr (cdr end))) (car (cdr (cdr start)))) 1000000.0)))
+ (float-time (time-subtract end start)))
(defun bovinate (&optional clear)
"Parse the current buffer. Show output in a temp buffer.