Subject: profiling multiple dispatch
From: Mayur Naik (naik@india.hp.com)
Date: Thu Dec 14 2000 - 07:07:12 PST
Hello
I wish to know how profile data (per call site or per GF) for multiple
dispatch is usually stored.
Suppose a GF has 3 args and the possible run-time classes of each arg
are A and B.
Is the profile date stored as:
A B
arg1: u v
arg2: w x
arg3: y z
where 'u' is the number of times the run-time class of arg1 is A, and
so on, or is it stored as:
(A, A, A): n1
(A, A, B): n2
(A, B, A): n3
(B, A, A): n4
...
(B, B, B): n8
where 'n1' is the number of times the run-time class vector
(arg1, arg2, arg3) is (A, A, A), and so on?
Thanks.
-- Mayur
This archive was generated by hypermail 2b25 : Thu Dec 14 2000 - 07:07:32 PST