[vcs option] +prof -simprofile
+prof will be replaced by -simprofile in new release of VCS.
compile time option. whit it, VCS generates a vcs.prof file during simulation, which contains a profile of the simulation in termss of CPU time and memory it uses.
For CPU time, it reports:
1. the percentage of CPU time used by the VCS kernel, design, SV testbench, cosimulation applications using either DPI or PLI, and time spent writing a VCD or VPD file.
2. the module instances in the hierarchy that use the most CPU time.
3. the moduel definitions whose instances use the most CPU time
4. the verilog constructs in those instances that use the most CPU time.
For memory, it reports:
1. the amount and percentage of memory used by the VCS kernel, design, SV testbench, cosimulation applications using either DPI or PLI, and time spent writing a VCD or VPD file.
2. the amount and percentage of memory used by each module definition.