Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Merging multiple profiles for coverage assessment.

Intel_C_Intel
Employee
488 Views
In order to prove that my test cases really exercise the majority of lines in a program element, I need to merge /LV (Line coverage) profiles. I've not been able to decipher the User Guide documentation on doing this - it is singularly lacking in practical examples and lacks detail on many of the options that have only cryptic explanations.

If someone out there has solved this problem, I'd appreciate a description of the approach used.

Thanks
0 Kudos
1 Reply
Intel_C_Intel
Employee
488 Views
Found the answer to my problem in MSDN Library for Visual Studio 6.0 by first searching for profiler and within that for merge. The article example translates to a batch file for three test cases as:

PREP /LV %1
PROFILE %1 %2 %3 %4 %5 ...
PREP /M %1
PROFILE %1 %2 %3 %4 %5 ...
PREP /M %1
PROFILE %1 %2 %3 %4 %5 ...
PREP /M %1
PLIST %1

For more or less test cases, just adjust the number of "PREP /M", "PROFILE" pairs.

Hope this helps someone else.

Steve Lionel

I'm starting a paper about using the profiler for in-house use and would like to send it to CVF News, if you think it would be of value to the user community. Let me know and I'll start through the "mother, may I" publication authorization loop. If you're not the person to ask, please redirect me.

John
0 Kudos
Reply