зеркало из https://github.com/mono/ikvm-fork.git
- Trim options read from response file (to allow indentation in multi target scenarios).
- Added more statistics to -time output.
This commit is contained in:
Родитель
172d448cbf
Коммит
a81bc1a529
|
@ -55,7 +55,7 @@ class IkvmcCompiler
|
|||
string line;
|
||||
while((line = sr.ReadLine()) != null)
|
||||
{
|
||||
arglist.Add(line);
|
||||
arglist.Add(line.Trim());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -105,7 +105,13 @@ class IkvmcCompiler
|
|||
if (time)
|
||||
{
|
||||
Console.WriteLine("Total cpu time: {0}", System.Diagnostics.Process.GetCurrentProcess().TotalProcessorTime);
|
||||
Console.WriteLine("User cpu time: {0}", System.Diagnostics.Process.GetCurrentProcess().UserProcessorTime);
|
||||
Console.WriteLine("Total wall clock time: {0}", DateTime.Now - start);
|
||||
Console.WriteLine("Peak virtual memory: {0}", System.Diagnostics.Process.GetCurrentProcess().PeakVirtualMemorySize64);
|
||||
for (int i = 0; i <= GC.MaxGeneration; i++)
|
||||
{
|
||||
Console.WriteLine("GC({0}) count: {1}", i, GC.CollectionCount(i));
|
||||
}
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче