Hi all,
I am trying to profile a piece of Isabelle code (with profiling type 1), and in the end I get a report like the following:
24 Term_Subst.instT_same(3)subst_typ(1) 24 Term.abstract_over(2)abs(2) 26 Term.fastype_of1(2) 27 Ord_List.union(3)unio(2) 28 TextIO.openAppend(1) 28 Term_Subst.instT_same(3)subst_typs(1) 32 Table().lookup_key(2)look(1) 33 BasicStreamIO().flushOut'(1)flushBuff(1) 35 Ord_List.unions(2)unios(2) 39 Thm.deriv_rule2(3) 41 Table().del(3) 43 TextIO.input'(1) 44 Term_Subst.inst_same(4)subst(1) 52 Table().lookup_key(2)look(1) 57 Term_Ord.atoms_ord(2) 62 Sorts.mg_domain(3) 70 Term_Ord.types_ord(2) 77 Table().lookup_key(2)look(1) 79 Table().modify(3)modfy(1) 80 Term_Ord.struct_ord(2) 87 Table().defined(2)def(1) 149 GARBAGE COLLECTION (minor collection) 150 GARBAGE COLLECTION (total) 13313 UNKNOWN
What does UNKNOWN mean? Is there anything I can do to make the result more meaningful?
Alex
On Mon, 28 Jan 2013, Alexander Krauss wrote:
149 GARBAGE COLLECTION (minor collection) 150 GARBAGE COLLECTION (total) 13313 UNKNOWN
What does UNKNOWN mean? Is there anything I can do to make the result more meaningful?
It probably means that you are running on Mac OS. Better use Linux here.
Makarius
On 01/28/2013 04:11 PM, Makarius wrote:
On Mon, 28 Jan 2013, Alexander Krauss wrote:
149 GARBAGE COLLECTION (minor collection) 150 GARBAGE COLLECTION (total) 13313 UNKNOWN
What does UNKNOWN mean? Is there anything I can do to make the result more meaningful?
It probably means that you are running on Mac OS. Better use Linux here.
This is on Linux.
Alex
On 28/01/2013 20:52, Alexander Krauss wrote:
On 01/28/2013 04:11 PM, Makarius wrote:
On Mon, 28 Jan 2013, Alexander Krauss wrote:
149 GARBAGE COLLECTION (minor collection) 150 GARBAGE COLLECTION (total) 13313 UNKNOWN
What does UNKNOWN mean? Is there anything I can do to make the result more meaningful?
It probably means that you are running on Mac OS. Better use Linux here.
This is on Linux.
Profiling works by setting a CPU-timer clock in each ML thread and using the resulting signal to sample the function being executed. That gives a reasonable idea of the hot-spots. This doesn't work in Mac OS X because all the signals are sent to the main thread. It (normally) works in Linux.
UNKNOWN indicates that the main thread received an interrupt in a state other than one of the states, such as GC, where it could reasonably be expected to be using cycles. It could be a bug in Poly/ML or it could be something to do with your version of Linux.
David