-
Notifications
You must be signed in to change notification settings - Fork 2
/
semantic-elp.el
717 lines (665 loc) · 21.1 KB
/
semantic-elp.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
;;; semantic-elp.el --- Bind ELP to measure Semantic
;; Copyright (C) 2008 Eric M. Ludlam
;; Author: Eric M. Ludlam <[email protected]>
;; X-RCS: $Id: semantic-elp.el,v 1.15 2008/12/21 01:08:15 zappo Exp $
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
;; published by the Free Software Foundation; either version 2, or (at
;; your option) any later version.
;; This program is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;; General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program; see the file COPYING. If not, write to
;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.
;;; Commentary:
;;
;; Provide fast ways to profile various (often slow) Semantic processes.
(require 'elp)
(require 'data-debug)
(require 'semantic-adebug)
(require 'semantic-tag-ls)
(require 'semantic-tag-file)
(require 'semanticdb)
(require 'semanticdb-find)
(require 'semanticdb-typecache)
(require 'semantic-scope)
(require 'semantic-analyze-fcn)
(require 'semantic-analyze)
(require 'semantic-analyze-complete)
;;; Code:
(defvar semantic-elp-emacs-core-list
'(
append
copy-sequence
expand-file-name
file-exists-p
file-name-directory
file-name-nondirectory
file-attributes
file-truename
find-buffer-visiting
length
locate-file
nconc
nreverse
sort
string<
string=
)
"List of Emacs functions for profiling.")
(defvar semantic-elp-eieio-core-list
'(
eieio-generic-call
eieio-generic-call-primary-only
eieiomt-method-list
eieio-generic-form
eieio-oref
eieio-oset
obj-of-class-p
)
"List of EIEIO functions for profiling.")
(defvar semantic-elp-ede-core-list
'(
ede-current-project
ede-directory-get-open-project
ede-expand-filename
ede-expand-filename-impl
ede-locate-file-in-project
ede-locate-file-in-project-impl
ede-system-include-path
ede-toplevel
ede-toplevel-project
ede-directory-project-p
)
"List of EDE functions to watch out for.")
(defvar semantic-elp-semantic-core-list
'(
semantic-ctxt-current-argument
semantic-ctxt-current-assignment
semantic-ctxt-current-class-list
semantic-ctxt-current-function
semantic-ctxt-current-symbol-and-bounds
semantic-current-tag
semantic-dependency-tag-file
semantic-equivalent-tag-p
semantic-fetch-tags
semantic-fetch-tags-fast
semantic-find-tag-by-overlay
semantic-sort-tags-by-name-decreasing
semantic-sort-tags-by-name-increasing
semantic-sort-tags-by-name-then-type-increasing
semantic-sort-tags-by-type-decreasing
semantic-sort-tags-by-type-increasing
semantic-tag-clone
semantic-tag-components
semantic-tag-copy
semantic-tag-external-member-children
semantic-tag-file-name
semantic-tag-function-arguments
semantic-tag-function-parent
semantic-tag-get-attribute
semantic-tag-in-buffer-p
semantic-tag-include-filename
;;semantic-tag-lessp-name-then-type
semantic-tag-name
semantic-tag-new-type
semantic-tag-of-class-p
semantic-tag-of-type-p
semantic-tag-of-type-p
semantic-tag-p
semantic-tag-prototype-p
semantic-tag-set-faux
semantic-tag-type
semantic-tag-type-members
semantic-tag-type-superclasses
semantic-tag-with-position-p
)
"List of core Semantic functions for profiling.")
(defvar semantic-elp-semantic-find-core-list
'(
semantic-find-tags-by-class
semantic-find-tags-by-name
semantic-find-tags-by-name-regexp
semantic-find-tags-by-scope-protection
semantic-find-tags-by-type
semantic-find-tags-for-completion
semantic-find-tags-included
semantic-find-tags-of-compound-type
)
"List of semantic-find routines for profiling.")
(defvar semantic-elp-semanticdb-core-list
'(
semanticdb-cache-get
semanticdb-current-database-list
semanticdb-file-table
semanticdb-file-table-object
semanticdb-full-filename
semanticdb-get-buffer
semanticdb-get-table-index
semanticdb-refresh-references
semanticdb-refresh-table
semanticdb-needs-refresh-p
semanticdb-directory-loaded-p
semanticdb-full-filename
semanticdb-create-table-for-file
)
"List of core Semanticdb functions for profiling.")
(defvar semantic-elp-include-path-list
'(
semanticdb-find-incomplete-cache-entries-p
semanticdb-find-load-unloaded
semanticdb-find-table-for-include
semanticdb-find-throttle-active-p
semanticdb-find-translate-path-default
semanticdb-find-translate-path-brutish-default
semanticdb-find-translate-path-includes--internal
semanticdb-find-translate-path-includes-default
)
"List of include path calculation functions for profiling.")
(defvar semantic-elp-semanticdb-find-list
'(
semanticdb-fast-strip-find-results
semanticdb-find-results-p
semanticdb-find-tags-by-class
semanticdb-find-tags-by-name
semanticdb-find-tags-by-name-regexp
semanticdb-find-tags-collector
semanticdb-find-tags-external-children-of-type
semanticdb-find-tags-for-completion
semanticdb-strip-find-results
)
"List of semanticdb find functions to profile.
You may also need `semantic-elp-include-path-list'.")
(defun semantic-elp-core-enable ()
"Do an ELP reset, and enable profiling of the core system."
(elp-reset-all)
(elp-instrument-list semantic-elp-emacs-core-list)
(elp-instrument-list semantic-elp-eieio-core-list)
(elp-instrument-list semantic-elp-ede-core-list)
(elp-instrument-list semantic-elp-semantic-core-list)
(elp-instrument-list semantic-elp-semanticdb-core-list)
(elp-instrument-list semantic-elp-semanticdb-find-list)
(elp-instrument-list semantic-elp-include-path-list)
)
(defun semantic-elp-include-path-enable ()
"Enable profiling for `semanticdb-find-translate-path'."
(semantic-elp-core-enable)
(elp-set-master 'semanticdb-find-translate-path-default)
)
(defvar semantic-elp-typecache-list
'(
semantic-analyze-split-name
semanticdb-get-typecache
semanticdb-typecache-merge-streams
semanticdb-typecache-safe-tag-members
semanticdb-typecache-apply-filename
semanticdb-typecache-file-tags
semanticdb-typecache-include-tags
)
"List of typecaching functions for profiling.")
(defun semantic-elp-profile-typecache (tab)
"Profile the typecache. Start with table TAB."
(let ((tc (semanticdb-get-typecache tab)))
(semanticdb-typecache-file-tags tab)
(semanticdb-typecache-include-tags tab)
tc))
(defun semantic-elp-typecache-enable ()
"Enable profiling for `semanticdb-get-typecache'."
(semantic-elp-include-path-enable)
(elp-instrument-list semantic-elp-typecache-list)
(elp-set-master 'semantic-elp-profile-typecache)
)
(defvar semantic-elp-scope-list
'(
semantic-analyze-find-tag
semantic-analyze-scope-nested-tags
semantic-analyze-scoped-types
semantic-analyze-scoped-types
semantic-analyze-tag-prototype-p
semantic-analyze-scoped-type-parts
semantic-calculate-scope
semantic-ctxt-scoped-types
semantic-get-all-local-variables
semantic-scope-find
semanticdb-typecache-find
semanticdb-typecache-merge-streams
)
"List of scope calculation functions for profiling.")
(defun semantic-elp-scope-enable ()
"Enable profiling for `semanticdb-calculate-scope'."
(semantic-elp-core-enable)
(elp-instrument-list semantic-elp-typecache-list)
(elp-instrument-list semantic-elp-scope-list)
(elp-set-master 'semantic-calculate-scope)
)
(defvar semantic-elp-analyze-list
'(
semantic-analyze-current-context
semantic-analyze-dereference-metatype
semantic-analyze-find-tag-sequence
semantic-analyze-find-tag-sequence
semantic-analyze-interesting-tag
semantic-analyze-pop-to-context
semantic-analyze-select-best-tag
semantic-analyze-tag-type
semantic-analyze-tag-type-to-name
semantic-analyze-type-constraint
semantic-analyze-scoped-type-parts
semantic-cache-data-to-buffer
)
"List of analyzer calculation functions for profiling.")
(defun semantic-elp-analyze-enable ()
"Enable profiling for `semanticdb-analyze-current-context'."
(semantic-elp-scope-enable)
(elp-instrument-list semantic-elp-analyze-list)
(elp-set-master 'semantic-analyze-current-context)
)
(defvar semantic-elp-complete-list
'(
semantic-analyze-possible-completions
semantic-analyze-possible-completions-default
semantic-analyze-tags-of-class-list
semantic-analyze-type-constants
semantic-unique-tag-table-by-name
)
"List of smart completion functions for profiling.")
(defun semantic-elp-complete-enable ()
"Enable profiling for `semanticdb-analyze-current-context'."
(semantic-elp-analyze-enable)
(elp-instrument-list semantic-elp-complete-list)
(elp-set-master 'semantic-analyze-possible-completions)
)
;;; Storage Classes
;;
;;
(defclass semantic-elp-data ()
((raw :initarg :raw
:type list
:documentation
"The raw ELP data.")
(sort :initform time
:documentation
"Which column do we sort our data by during various dumps.")
(sorted :initform nil
:documentation
"The sorted and filtered version of this data.")
(total :initarg :total
:initform nil
:documentation
"The total time spent in the operation.
Recorded outside of ELP.")
)
"Class for managing ELP data.")
(defmethod semantic-elp-change-sort ((data semantic-elp-data) &optional newsort)
"Change the sort in DATA object to NEWSORT."
(cond ((eq newsort 'rotate)
(let* ((arot '((time . avg)
(avg . calls)
(calls . name)
(name . time)))
(next (cdr (assoc (oref data sort) arot)))
)
(oset data sort next)))
((null newsort)
nil)
(t
(oset data sort newsort)))
(let ((r (copy-sequence (oref data raw)))
(s (oref data sort)))
(cond ((eq s 'time)
(oset data sorted (sort r (lambda (a b)
(> (aref a 1) (aref b 1))
)))
)
((eq s 'avg)
(oset data sorted (sort r (lambda (a b)
(> (aref a 2) (aref b 2))
)))
)
((eq s 'calls)
(oset data sorted (sort r (lambda (a b)
(> (aref a 0) (aref b 0))
)))
)
((eq s 'name)
(oset data sorted (sort r (lambda (a b)
(string< (aref a 3) (aref b 3))
)))
)
(t (message "Don't know how to resort with %s" s)
))))
(defun semantic-elp-goto-function (point)
"Goto the function from the ELP data.
Argument POINT is where to get the data from."
(let* ((data (get-text-property point 'ddebug))
)
(find-function (intern-soft (aref data 3)))
))
(defmethod semantic-elp-dump-table ((data semantic-elp-data)
prefix)
"dump out the current DATA table using PREFIX before each line."
(let* ((elpd (oref data sorted))
(spaces (make-string (- (length prefix) 2) ? ))
)
(data-debug-insert-simple-thing
"Calls\t Total Time\t Avg Time/Call\tName"
spaces " " 'underline)
(dolist (d elpd)
(when (> (aref d 0) 0) ;; We had some calls
(let ((start (point))
(end nil))
(data-debug-insert-simple-thing
(format " % 4d\t% 2.7f\t% 2.7f\t%s"
(aref d 0) (aref d 1) (aref d 2) (aref d 3))
spaces " " nil)
(setq end (1- (point)))
(put-text-property start end 'ddebug d)
(put-text-property start end 'ddebug-noexpand t)
(put-text-property start end 'ddebug-function
'semantic-elp-goto-function)
)
))
)
)
(defmethod data-debug/eieio-insert-slots ((data semantic-elp-data)
prefix)
"Show the fields of ELP data in an adebug buffer.
Ignore the usual, and format a nice table."
(data-debug-insert-thing (object-name-string data)
prefix
"Name: ")
(let* ((cl (object-class data))
(cv (class-v cl)))
(data-debug-insert-thing (class-constructor cl)
prefix
"Class: ")
)
(data-debug-insert-thing (oref data :total)
prefix
"Total Time Spent: ")
(let ((s (oref data sort))
)
;; Show how it's sorted:
(let ((start (point))
(end nil)
)
(insert prefix "Sort Method: " (symbol-name s))
(setq end (point))
;; (data-debug-insert-thing s prefix "Sort Method: ")
(put-text-property start end 'ddebug data)
(put-text-property start end 'ddebug-noexpand t)
(put-text-property start end 'ddebug-indent(length prefix))
(put-text-property start end 'ddebug-prefix prefix)
(put-text-property start end 'ddebug-function
'semantic-elp-change-sort-adebug)
(put-text-property start end 'help-echo
"Change the Sort by selecting twice.")
(insert "\n"))
;; How to sort the raw data
(semantic-elp-change-sort data)
)
;; Display
(semantic-elp-dump-table data prefix)
)
(defun semantic-elp-change-sort-adebug (point)
"Change the sort function here. Redisplay.
Argument POINT is where the text is."
(let* ((data (get-text-property point 'ddebug))
(prefix (get-text-property point 'ddebug-prefix))
)
;; Get rid of the old table.
(data-debug-contract-current-line)
;; Change it
(semantic-elp-change-sort data 'rotate)
(end-of-line)
(forward-word -1)
(delete-region (point) (point-at-eol))
(insert (symbol-name (oref data sort)))
;; Redraw it.
(save-excursion
(end-of-line)
(forward-char 1)
(semantic-elp-dump-table data prefix))
))
(defclass semantic-elp-object-base (eieio-persistent)
((file-header-line :initform ";; SEMANTIC ELP Profiling Save File")
(total :initarg :total
:type number
:documentation
"Amount of time spent during the entire collection.")
)
"Base elp object.")
(defclass semantic-elp-object (semantic-elp-object-base)
((time :initarg :time
:type semantic-elp-data
:documentation
"Times for calculating something.")
(answer :initarg :answer
:documentation
"Any answer that might be useful."))
"Simple elp object for remembering one analysis run.")
(defclass semantic-elp-object-analyze (semantic-elp-object-base)
((pathtime :initarg :pathtime
:type semantic-elp-data
:documentation
"Times for calculating the include path.")
(typecachetime :initarg :typecachetime
:type semantic-elp-data
:documentation
"Times for calculating the typecache.")
(scopetime :initarg :scopetime
:type semantic-elp-data
:documentation
"Times for calculating the typecache")
(ctxttime :initarg :ctxttime
:type semantic-elp-data
:documentation
"Times for calculating the context.")
(completiontime :initarg :completiontime
:type semantic-elp-data
:documentation
"Times for calculating the completions.")
)
"Results from a profile run.")
;;; ELP hackery.
;;
(defvar semantic-elp-last-results nil
"Save the last results from an ELP run for more post processing.")
(defun semantic-elp-results (name)
"Fetch results from the last run, and display.
Copied out of elp.el and modified only slightly.
Argument NAME is the name to give the ELP data object."
(let ((resvec
(mapcar
(function
(lambda (funsym)
(let* ((info (get funsym elp-timer-info-property))
(symname (format "%s" funsym))
(cc (aref info 0))
(tt (aref info 1)))
(if (not info)
(insert "No profiling information found for: "
symname)
;;(setq longest (max longest (length symname)))
(vector cc tt (if (zerop cc)
0.0 ;avoid arithmetic div-by-zero errors
(/ (float tt) (float cc)))
symname)))))
elp-all-instrumented-list))
) ; end let
(setq semantic-elp-last-results (semantic-elp-data name :raw resvec))
(elp-reset-all))
)
;;; The big analyze and timer function!
;;
;;
(defvar semantic-elp-last-run nil
"The results from the last elp run.")
;;;###autoload
(defun semantic-elp-analyze ()
"Run the analyzer, using ELP to measure performance."
(interactive)
(let ((elp-recycle-buffers-p nil)
(totalstart (current-time))
(totalstop nil)
start stop
path pathtime
typecache typecachetime
scope scopetime
ctxt ctxttime
completion completiontime)
;; Force tag table to be up to date.
(semantic-clear-toplevel-cache)
(semantic-fetch-tags)
;; Path translation
(semantic-elp-include-path-enable)
(progn
(setq start (current-time))
(setq path (semanticdb-find-translate-path nil nil))
(setq stop (current-time)))
(semantic-elp-results "translate-path")
(setq pathtime semantic-elp-last-results)
(oset pathtime :total (semantic-elapsed-time start stop))
;; typecache
(let* ((tab semanticdb-current-table)
(idx (semanticdb-get-table-index tab))
(tc nil)
)
(semantic-elp-typecache-enable)
(progn
(setq start (current-time))
(setq tc (semantic-elp-profile-typecache tab))
(setq stop (current-time)))
(setq typecache tc))
(semantic-elp-results "typecache")
(setq typecachetime semantic-elp-last-results)
(oset typecachetime :total (semantic-elapsed-time start stop))
;; Scope
(semantic-elp-scope-enable)
(progn
(setq start (current-time))
(setq scope (semantic-calculate-scope))
(setq stop (current-time)))
(semantic-elp-results "scope")
(setq scopetime semantic-elp-last-results)
(oset scopetime :total (semantic-elapsed-time start stop))
;; Analyze!
(semantic-elp-analyze-enable)
(progn
(setq start (current-time))
(setq ctxt (semantic-analyze-current-context)) ; skip caching
(setq stop (current-time)))
(semantic-elp-results "analyze")
(setq ctxttime semantic-elp-last-results)
(oset ctxttime :total (semantic-elapsed-time start stop))
;; Complete!
(semantic-elp-complete-enable)
(progn
(setq start (current-time))
(setq completion (semantic-analyze-possible-completions ctxt))
(setq stop (current-time)))
(semantic-elp-results "complete")
(setq completiontime semantic-elp-last-results)
(oset completiontime :total (semantic-elapsed-time start stop))
;; Finish it
(setq totalstop (current-time))
;; build it
(let ((elpobj (semantic-elp-object-analyze
"ELP"
:total (semantic-elapsed-time totalstart totalstop)
:pathtime pathtime
:typecachetime typecachetime
:scopetime scopetime
:ctxttime ctxttime
:completiontime completiontime
)))
(data-debug-show elpobj)
(setq semantic-elp-last-run elpobj)
(let ((saveas (read-file-name "Save Profile to: " (expand-file-name "~/")
"semantic.elp" nil "semantic.elp")))
(oset elpobj :file saveas)
(eieio-persistent-save elpobj)
)
)))
(defun semantic-elp-idle-work ()
"Run the idle work scheduler, using ELP to measure performance."
(interactive)
(let ((elp-recycle-buffers-p nil)
(totalstart nil)
(totalstop nil)
ans time
)
;; Path translation
(semantic-elp-core-enable)
(setq totalstart (current-time))
(semantic-idle-scheduler-work-parse-neighboring-files)
(setq totalstop (current-time))
(semantic-elp-results "")
(setq time semantic-elp-last-results)
(oset time :total (semantic-elapsed-time totalstart totalstop))
;; build it
(let ((elpobj (semantic-elp-object
"ELP"
:total (semantic-elapsed-time totalstart totalstop)
:time time)))
(data-debug-show elpobj)
(setq semantic-elp-last-run elpobj)
(let ((saveas (read-file-name "Save Profile to: " (expand-file-name "~/")
"semantic.elp" nil "semantic.elp")))
(oset elpobj :file saveas)
(eieio-persistent-save elpobj)
)
)))
(defun semantic-elp-searchdb ()
"Run a semanticdb search routine with the profiler.
The expectation is that you will edit this fcn with different
`semanticdb-find-' routines."
(interactive)
(let ((elp-recycle-buffers-p nil)
(totalstart nil)
(totalstop nil)
ans time
)
;; reset
(semantic-clear-toplevel-cache)
(semantic-fetch-tags)
;; Path translation
(semantic-elp-include-path-enable)
(setq totalstart (current-time))
(setq ans (semanticdb-find-tags-by-name-regexp "task" nil))
(setq totalstop (current-time))
(semantic-elp-results "")
(setq time semantic-elp-last-results)
(oset time :total (semantic-elapsed-time totalstart totalstop))
;; build it
(let ((elpobj (semantic-elp-object
"ELP"
:total (semantic-elapsed-time totalstart totalstop)
:time time
:answer ans)))
(data-debug-show elpobj)
(setq semantic-elp-last-run elpobj)
(let ((saveas (read-file-name "Save Profile to: " (expand-file-name "~/")
"semantic.elp" nil "semantic.elp")))
(oset elpobj :file saveas)
(eieio-persistent-save elpobj)
)
)))
(defun semantic-elp-show-last-run ()
"Show the last elp run."
(interactive)
(when (not semantic-elp-last-run)
(error "No last run to show"))
(data-debug-show semantic-elp-last-run))
;;;###autoload
(defun semantic-elp-load-old-run (file)
"Load an old run from FILE, and show it."
(interactive "fLast Run File: ")
(setq semantic-elp-last-run
(eieio-persistent-read file))
(data-debug-show semantic-elp-last-run))
(provide 'semantic-elp)
;;; semantic-elp.el ends here