coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "jonikelee AT gmail.com" <jonikelee AT gmail.com>
- To: coq-club <coq-club AT inria.fr>
- Subject: [Coq-Club] what does "0 calls" imply in Ltac profile output?
- Date: Sat, 25 Jul 2020 14:45:02 -0400
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk1-f175.google.com
- Ironport-phdr: 9a23:KE5qSxwxwUTp+RzXCy+O+j09IxM/srCxBDY+r6Qd2uoQIJqq85mqBkHD//Il1AaPAdyFra8ZwLOM4ujJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglVhTexe7N/IRW5oQnMqMUbhZZpJ7osxBfOvnZGYfldy3lyJVKUkRb858Ow84Bm/i9Npf8v9NNOXLvjcaggQrNWEDopM2Yu5M32rhbDVheA5mEdUmoNjBVFBRXO4QzgUZfwtiv6sfd92DWfMMbrQ704RSiu4qF2QxLulSwJNSM28HvPh8J+jKxVvg+vqR94zYHbfI6bO+Fzfr/Efd4AWWZMRNpdWi5HD4ihb4UPFe0BPeNAooXzpVsOqh2+BQivBOzxzj9HmGH50LY10+QkCw7G3QggE8gSv3TTqdX5OroZXOe3zKnPyzXDbvBW1in56IfWbB8suv6MXbdqfsrQzUkjDR/KjlKVqYH8OT6ey+sCvXSB4eV6SeKvl3Aoqxt3ojW32MohlI3Ei4MJx13F+yt0woY4K923RUNnYNOpEoZcui6UOoZqQs0vQGFmtTg1x7AYtpO2fCkHxpQ7yxPQdvGLbY6F6Q/gWuaJOTp0mm5pdbalixux8UWs0PPwWteq3FpQsyZIkNnBumgT2xHS9sSLV/5w8lql1DmT0g3e5eBJLVwomafeJZMu3LE9m58QvEveAyP7nVv5gaCYdkUq/+Wo5frobqvnq5KZK4B5iw/zP6Yol8eiG+o3KBIOUHKe+emk1L3s40n5QLJSg/0ziKbZsZTaKd0Cpq66HgNZy4gj5wu9AjqmytgYkn4HLFVKeBKDkYflIU3BIPf9DfunglSslilkx+zeM7H/HpnAKmLPnbThcLpn9UJQ1hQ/wcpC659WCrwNOPfzVVXwtNzcAB85KQu0w+P/BdV/0YMeX2OPAqyHP6PWr1CH+PkiI+aJZIAPuTb9L+Ip6OLpjX88gVMdZ7Wm3YMLaHCkGfRrO1mWYX31gtsYDWgKuhc+Q/fxhV2ZUT9TYm6yULgm6jE6DoKmF4bDSZq3jLyPxifoVqFRM2tBExWHFWriP9GPXO5JYyaPKOdglCYFXP6vUdly+wupsVqwyb1hL+nZ/iAVnZ3m3dlxoebUkFt6oT5zCcWe3mWAQkl7m2oJQ3k926Up8h818UuKzaUt268QLtdU/f4cCl5nZ66Z9PRzDpXJYiyEftqNTwz4ENCvADV0V9FohtFXPBs7FNKlgRTOmSGtBu1Nzu3ZNNkP6qvZmkPJCYN4wnfC2rMmigB/EMRKPGyiwKV48lqKXtKbowCij6+vMJ8k8mvV7m7alDiBuUhZVEh7VqCXBX0=
I am perhaps not interpreting Ltac Profiling output correctly, but
having 0 for calls below seems like it must be a bug, since either
use_node must have been called at least once, or it must have calls
within it to have a very different local vs. total percentage:
tactic local total calls max
────────────────────────────────────────┴──────┴──────┴───────┴─────────┘
─tac ----------------------------------- 0.6% 82.2% 41833 11.316s
─force refine (uconstr) by (tactic1) --- 0.0% 57.5% 148 11.332s
─use_node ------------------------------ 0.0% 56.4% 0 23.650s
...
Is this a bug? If not, what is the proper interpreation of the calls
column? Or, for that matter, all columns?
My probably incorrect interpretation is that "local" refers to the
particular tactic excluding any others it calls, while "total" includes
others it calls. And calls is the total number of times it runs. And
max is the maximal amount of time of any single call, including sub
calls. This makes sense except for calls = 0 cases, of which I have
several. My alternate interpretation of calls would be that it is the
total number of calls the tactic makes (subcalls), but that cannot be 0
unless that tactic's local and total are the same (or very close). I'm
also assuming that the top "tac" line is the total for all tactics.
Note that the refman is silent about the interpretation of the output,
but its examples do show cases where calls=0. And in those cases local
and total are very close (so perhaps my alternate interpretation of
calls is correct, and the total-local difference is just the Ltac call
overhead of the tactic itself?).
BTW: this is in the tagged 8.12 build as of yesterday, where
supposedly the longstanding Ltac Profiling shortcoming vs.
multi-success backtracking tactics has been fixed. I had previously
not paid close attention to anomalies in the Ltac Profiling output
because of that shortcoming.
Thanks,
Jonathan
- [Coq-Club] what does "0 calls" imply in Ltac profile output?, jonikelee AT gmail.com, 07/25/2020
- Re: [Coq-Club] what does "0 calls" imply in Ltac profile output?, Jason Gross, 07/26/2020
- Re: [Coq-Club] what does "0 calls" imply in Ltac profile output?, jonikelee AT gmail.com, 07/26/2020
- Re: [Coq-Club] what does "0 calls" imply in Ltac profile output?, Jason Gross, 07/26/2020
- Re: [Coq-Club] what does "0 calls" imply in Ltac profile output?, jonikelee AT gmail.com, 07/26/2020
- Re: [Coq-Club] what does "0 calls" imply in Ltac profile output?, Jason Gross, 07/26/2020
- Re: [Coq-Club] what does "0 calls" imply in Ltac profile output?, jonikelee AT gmail.com, 07/26/2020
- Re: [Coq-Club] what does "0 calls" imply in Ltac profile output?, Jason Gross, 07/26/2020
Archive powered by MHonArc 2.6.19+.