Mercurial > octave-nkf
comparison src/Makefile.am @ 12783:ad9263d965dc
First experimental profiler implementation with flat profile.
* profiler.cc: New file.
* profiler.h: New file.
* Makefile.am: Include new files in build process.
* oct-parse.yy (frob_function): Store location of function parsed.
* ov-fcn.h (octave_function::profiler_name): New method.
* ov-builtin.cc (octave_builtin::do_multi_index_op): Record timings in profiler.
* ov-mex-fcn.cc (octave_mex_function::do_multi_index_op): Ditto.
* ov-usr-fcn.cc (octave_user_script::do_multi_index_op): Ditto.
(octave_user_function::do_multi_index_op): Ditto.
(octave_user_function::octave_user_function): Initialize location_line/column.
(octave_user_function::profiler_name): New method.
* ov-usr-fcn.h (octave_user_function): New variables location_line,
location column and new method stash_fcn_location to set them.
* pt-fcn-handle.cc (tree_anon_fcn_handle::rvalue1): Store location.
author | Daniel Kraft <d@domob.eu> |
---|---|
date | Thu, 30 Jun 2011 20:04:34 +0200 |
parents | c55df65b543a |
children | ae88a81e5d5c |
comparison
equal
deleted
inserted
replaced
12778:0ca5672d5f1a | 12783:ad9263d965dc |
---|---|
308 | 308 |
309 nodist_octinclude_HEADERS = \ | 309 nodist_octinclude_HEADERS = \ |
310 defaults.h \ | 310 defaults.h \ |
311 graphics.h \ | 311 graphics.h \ |
312 oct-conf.h \ | 312 oct-conf.h \ |
313 profiler.h \ | |
313 mxarray.h \ | 314 mxarray.h \ |
314 version.h | 315 version.h |
315 | 316 |
316 OV_INTTYPE_SRC = \ | 317 OV_INTTYPE_SRC = \ |
317 ov-int16.cc \ | 318 ov-int16.cc \ |
444 oct-strstrm.cc \ | 445 oct-strstrm.cc \ |
445 octave.cc \ | 446 octave.cc \ |
446 pager.cc \ | 447 pager.cc \ |
447 pr-output.cc \ | 448 pr-output.cc \ |
448 procstream.cc \ | 449 procstream.cc \ |
450 profiler.cc \ | |
449 sighandlers.cc \ | 451 sighandlers.cc \ |
450 siglist.c \ | 452 siglist.c \ |
451 sparse.cc \ | 453 sparse.cc \ |
452 sparse-xdiv.cc \ | 454 sparse-xdiv.cc \ |
453 sparse-xpow.cc \ | 455 sparse-xpow.cc \ |