[RombaSharp] Clarify some features

This commit is contained in:
Matt Nadareski
2018-01-27 16:32:46 -08:00
parent a5fa049ac0
commit 5e36a8e0da
2 changed files with 5 additions and 24 deletions

View File

@@ -57,25 +57,6 @@ namespace RombaSharp
dbc.Dispose();
}
/// <summary>
/// Display the current memory usage of the application
/// </summary>
private static void DisplayMemoryStats()
{
Process proc = Process.GetCurrentProcess();
Globals.Logger.User("Current Nonpaged Memory: {0}", Utilities.GetBytesReadable(proc.NonpagedSystemMemorySize64));
Globals.Logger.User("Current Paged Memory: {0}", Utilities.GetBytesReadable(proc.PagedMemorySize64));
Globals.Logger.User("Peak Paged Memory: {0}", Utilities.GetBytesReadable(proc.PeakPagedMemorySize64));
Globals.Logger.User("Peak Virtual Memory: {0}", Utilities.GetBytesReadable(proc.PeakVirtualMemorySize64));
Globals.Logger.User("Peak Working Memory: {0}", Utilities.GetBytesReadable(proc.PeakWorkingSet64));
Globals.Logger.User("Private Memory: {0}", Utilities.GetBytesReadable(proc.PrivateMemorySize64));
Globals.Logger.User("Virtual Memory: {0}", Utilities.GetBytesReadable(proc.VirtualMemorySize64));
Globals.Logger.User("Working Memory: {0}", Utilities.GetBytesReadable(proc.WorkingSet64));
Globals.Logger.User("Total Processor Time: {0}", proc.TotalProcessorTime);
Globals.Logger.User("User Processor Time: {0}", proc.UserProcessorTime);
}
/// <summary>
/// Export the current database to CSV
/// </summary>

View File

@@ -257,7 +257,7 @@ namespace RombaSharp
/// </summary>
private static void InitCancel()
{
Globals.Logger.Error("This feature is not yet implemented: cancel");
Globals.Logger.User("This feature is obsolete: cancel");
}
/// <summary>
@@ -470,7 +470,7 @@ namespace RombaSharp
/// </summary>
private static void InitMemstats()
{
DisplayMemoryStats();
Globals.Logger.User("This feature is obsolete: cancel");
}
/// <summary>
@@ -506,7 +506,7 @@ namespace RombaSharp
/// </summary>
private static void InitProgress()
{
Globals.Logger.Error("This feature is not yet implemented: progress");
Globals.Logger.User("This feature is obsolete: progress");
}
/// <summary>
@@ -580,7 +580,7 @@ namespace RombaSharp
/// </summary>
private static void InitShutdown()
{
Globals.Logger.Error("This feature is not yet implemented: shutdown");
Globals.Logger.User("This feature is obsolete: shutdown");
}
/// <summary>
@@ -588,7 +588,7 @@ namespace RombaSharp
/// </summary>
private static void InitVersion()
{
Globals.Logger.Error("This feature is not yet implemented: version");
Globals.Logger.User("RombaSharp version: {0}", Constants.Version);
}
#endregion