octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Patch, Profiler] Profiling of operators


From: Daniel Kraft
Subject: [Patch, Profiler] Profiling of operators
Date: Fri, 29 Jul 2011 18:23:53 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110624 Thunderbird/5.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

this patch implements profiling of operators.  It was not that hard,
after all ... only now the profile_data_accumulator *only* works on the
strings identifying functions and never octave_function references.
This is necessary because (AFAIK) operators don't have any
octave_function corresponding to them.  But it seems to work the way it
is now.

I excluded short-circuit operators, but that is hopefully ok.  The
problem with those is (as mentioned in a comment) that evaluation of
operands and the operator itself is entangled and thus I didn't see
where to start/stop timing the operator to make it reasonable.

Does this look good?  Then the next step is anonymous functions.

Yours,
Daniel

- -- 
OpenPGP: 3BA2 3DDB 7758 F010 BDAB 0DCF 527E 79BA A3B5 3998
or use https://safesend.kraftware.de/
- --
Done:  Arc-Bar-Cav-Kni-Ran-Rog-Sam-Tou-Val-Wiz
To go: Hea-Mon-Pri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOMt6ZAAoJEFJ+ebqjtTmYbgsP/1ubPUuRFp5Y9Jd1sDWlG3Gu
XAbKoQrrjth8ptqLVChIpmgIVE13v92kU61KvMNd+vEmYURZrc562KN/4guetyDy
GdBamPt+BaPNG18hQwubVO5xjHch1EevJDMrahw0Ehw+/LKemqapYAxl8CLx6G56
GjEQePdDk/6rWWKhVr7tMgbryl6Y/vaHNHagyBpnqUaqX5tkqHcktPKNukwTYH/f
PERK8h4TMPZekiuHQBBRftVrmlw2yGRCZNGhIjg8mNAAuuXzhj+LI6tINzzvaPrf
YF+pcoTwFH3TwHokg+xW5T396Gn/RMK7h41EvW+vD1TbhilKFFF59PhSZnGmn0Ct
WbaZ90ciO5cM5xk6XUB8l5yKAUMJRmWx8wTTzAotUj/kvEXagyE32Ej75Fsjuqi5
9l2hh0AkDqdMp59W6n2PEnMqqCFbUIZ//UczGtcdMNlH1W6IiMStstOIFWwIP1Wg
28ogNudtGfJCEkNouBi9LNi31VKvlwyfD+ICESe2XiPGxu0vP4owyAfakG0gcg2V
Wo51wuYTmbWuwmBvvmG1uTXPm3tc7e+EtqtHJCXscKD+jBMd/3NbYvOzF8pGh1CD
ayJbDnzfuZhnLaW0ciJcGjt32UQ5raInaKP8xwB5rf+oztuvzbXDqAVDb/CakGdt
eOB6jOmfhAf5ZKGKbllN
=8WXf
-----END PGP SIGNATURE-----

Attachment: patch.diff
Description: Text document

Attachment: patch.diff.sig
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]