C#: Fix elapsed timings and add a test for it.

This commit is contained in:
calum
2019-04-16 16:14:57 +01:00
committed by Calum Grant
parent c67e441003
commit 39bb3f2d52
5 changed files with 23 additions and 9 deletions

View File

@@ -63,6 +63,7 @@ namespace Semmle.Extraction.CSharp
public static ExitCode Run(string[] args)
{
var stopwatch = new Stopwatch();
stopwatch.Start();
var commandLineArguments = Options.CreateWithEnvironment(args);
var fileLogger = new FileLogger(commandLineArguments.Verbosity, GetCSharpLogPath());
var logger = commandLineArguments.Console