|
From: John C. <joh...@ta...> - 2014-09-26 03:06:19
|
So I got that specification for the callgrind jcnd= line from.... http://valgrind.10908.n7.nabble.com/The-syntax-of-jump-and-jcnd-in-callgrind-profile-files-td51025.html#a51026 I would assume then that followed_count <= total_count would always be true. This one liner.... find -name '*.callgrind' | xargs grep jcnd | ruby -nle 'p [$1, $2,$_] if ($_ =~ /jcnd=([0-9]+)\/([0-9]+)/) && ($1.to_i > $2.to_i)' ...finds thousands of counterexamples, and if I swap '>' to '<'.... I find thousands of examples again. So I have concluded I don't understand what followed_count and total_count mean. What do they mean? -- John Carter Phone : (64)(3) 358 6639 Tait Electronics PO Box 1645 Christchurch New Zealand -- ------------------------------ This email, including any attachments, is only for the intended recipient. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If you are not an intended recipient, you may not use, disseminate, distribute or reproduce such email, any attachments, or any part thereof. If you have received a message in error, please notify the sender immediately and erase all copies of the message and any attachments. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission nor can we guarantee that any email or any attachments are free from computer viruses or other conditions which may damage or interfere with recipient data, hardware or software. The recipient relies upon its own procedures and assumes all risk of use and of opening any attachments. ------------------------------ |