diff options
author | akashlal <unknown> | 2014-10-29 12:09:47 +0530 |
---|---|---|
committer | akashlal <unknown> | 2014-10-29 12:09:47 +0530 |
commit | b287f7ffe5df2dadbc581acc2fb86b9e90a5a77d (patch) | |
tree | 3fa65ff374e5e9d40242cbc863bc77c595d4d5a1 /Source/VCGeneration/StratifiedVC.cs | |
parent | 0bf625b0c480624e4fa36663bd443d9f1db08c09 (diff) |
SI: print if a bound was reached.
Diffstat (limited to 'Source/VCGeneration/StratifiedVC.cs')
-rw-r--r-- | Source/VCGeneration/StratifiedVC.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/VCGeneration/StratifiedVC.cs b/Source/VCGeneration/StratifiedVC.cs index 1471f30f..fcd126e4 100644 --- a/Source/VCGeneration/StratifiedVC.cs +++ b/Source/VCGeneration/StratifiedVC.cs @@ -1084,8 +1084,6 @@ namespace VC { Debug.Assert(QKeyValue.FindBoolAttribute(impl.Attributes, "entrypoint"));
Debug.Assert(this.program == program);
- var computeUnderBound = true;
-
// Record current time
var startTime = DateTime.UtcNow;
@@ -1159,7 +1157,7 @@ namespace VC { }
#endregion
- if (CommandLineOptions.Clo.StratifiedInliningVerbose > 0) {
+ if (CommandLineOptions.Clo.StratifiedInliningVerbose > 1) {
Console.WriteLine(">> SI: Size of VC after eager inlining: {0}", vState.vcSize);
}
@@ -1233,6 +1231,9 @@ namespace VC { {
if (block.Count == 0)
{
+ if (CommandLineOptions.Clo.StratifiedInliningVerbose > 0)
+ Console.WriteLine(">> SI: Exhausted Bound {0}", bound);
+
// Increment bound
bound++;
@@ -1255,7 +1256,7 @@ namespace VC { Contract.Assert(reporter.candidatesToExpand.Count != 0);
#region expand call tree
- if (CommandLineOptions.Clo.StratifiedInliningVerbose > 0)
+ if (CommandLineOptions.Clo.StratifiedInliningVerbose > 1)
{
Console.Write(">> SI Inlining: ");
reporter.candidatesToExpand
@@ -1285,7 +1286,7 @@ namespace VC { // this call to VerifyImplementation
vState.checker.prover.Pop();
- if (CommandLineOptions.Clo.StratifiedInliningVerbose > 0) {
+ if (CommandLineOptions.Clo.StratifiedInliningVerbose > 1) {
Console.WriteLine(">> SI: Expansions performed: {0}", vState.expansionCount);
Console.WriteLine(">> SI: Candidates left: {0}", calls.currCandidates.Count);
Console.WriteLine(">> SI: Candidates skipped: {0}", calls.currCandidates.Where(i => isSkipped(i, calls)).Count());
|